Commit 935626b4 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

wusa: Fix double free on error path in read_update_package (scan-build).

If read_identity returns FALSE, it has already called clear_identity.
parent 7e060adf
...@@ -587,7 +587,7 @@ static BOOL read_update_package(IXMLDOMElement *child, WCHAR *tagname, void *con ...@@ -587,7 +587,7 @@ static BOOL read_update_package(IXMLDOMElement *child, WCHAR *tagname, void *con
list_add_tail(update_list, &entry->entry); list_add_tail(update_list, &entry->entry);
return TRUE; return TRUE;
} }
free_dependency(entry); free(entry);
} }
return FALSE; return FALSE;
......
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