Commit aae4f114 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wsdapi: Remove redundant NULL checks before heap_free().

parent c15bbce2
......@@ -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;
}
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment