Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c15bbce2
Commit
c15bbce2
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/tests: Remove redundant NULL checks before heap_free().
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b442a5c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
discovery.c
dlls/wsdapi/tests/discovery.c
+4
-4
No files found.
dlls/wsdapi/tests/discovery.c
View file @
c15bbce2
...
...
@@ -260,7 +260,7 @@ static void start_listening(messageStorage *msgStorage, const char *multicastAdd
cleanup:
closesocket
(
s
);
if
(
parameter
!=
NULL
)
heap_free
(
parameter
);
heap_free
(
parameter
);
cleanup_addresses:
freeaddrinfo
(
multicastAddr
);
...
...
@@ -309,7 +309,7 @@ static BOOL start_listening_on_all_addresses(messageStorage *msgStorage, ULONG f
ret
=
TRUE
;
cleanup:
if
(
adapterAddresses
!=
NULL
)
heap_free
(
adapterAddresses
);
heap_free
(
adapterAddresses
);
return
ret
;
}
...
...
@@ -626,8 +626,8 @@ static void Publish_tests(void)
after_publish_test:
if
(
publisherIdW
!=
NULL
)
heap_free
(
publisherIdW
);
if
(
sequenceIdW
!=
NULL
)
heap_free
(
sequenceIdW
);
heap_free
(
publisherIdW
);
heap_free
(
sequenceIdW
);
ref
=
IWSDiscoveryPublisher_Release
(
publisher
);
ok
(
ref
==
0
,
"IWSDiscoveryPublisher_Release() has %d references, should have 0
\n
"
,
ref
);
...
...
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