Searched hist:"45724 d6d02383b0d7d4a90e05787fca7c55cb070" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/block/ |
H A D | curl.c | diff 45724d6d02383b0d7d4a90e05787fca7c55cb070 Sat Sep 01 04:06:45 CDT 2012 Stefan Weil <sw@weilnetz.de> block/curl: Fix wrong free statement
Report from smatch: block/curl.c:546 curl_close(21) info: redundant null check on s->url calling free()
The check was redundant, and free was also wrong because the memory was allocated using g_strdup.
Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|