Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
aae4f114
Commit
aae4f114
authored
Apr 01, 2018
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wsdapi: Remove redundant NULL checks before heap_free().
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c15bbce2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
network.c
dlls/wsdapi/network.c
+1
-1
soap.c
dlls/wsdapi/soap.c
+1
-2
No files found.
dlls/wsdapi/network.c
View file @
aae4f114
...
...
@@ -215,7 +215,7 @@ BOOL send_udp_multicast_of_type(char *data, int length, int max_initial_delay, U
ret
=
TRUE
;
cleanup:
if
(
adapter_addresses
!=
NULL
)
heap_free
(
adapter_addresses
);
heap_free
(
adapter_addresses
);
return
ret
;
}
...
...
dlls/wsdapi/soap.c
View file @
aae4f114
...
...
@@ -127,8 +127,7 @@ static inline void free_xml_string(WS_XML_STRING *value)
if
(
value
==
NULL
)
return
;
if
(
value
->
bytes
!=
NULL
)
heap_free
(
value
->
bytes
);
heap_free
(
value
->
bytes
);
heap_free
(
value
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment