aboutsummaryrefslogtreecommitdiff
path: root/os-win32.c
diff options
context:
space:
mode:
authorRobert Foley <robert.foley@linaro.org>2019-11-18 16:15:23 -0500
committerMichael Roth <mdroth@linux.vnet.ibm.com>2020-06-22 12:36:43 -0500
commit45b65bf8dfb46a03ff67c36424986e2450c5203e (patch)
tree436252fa6fad735a15039fcad423299d386d0c93 /os-win32.c
parentaea7a50fb5e38ccfda741848286a548b72877dfa (diff)
downloadqemu-45b65bf8dfb46a03ff67c36424986e2450c5203e.zip
qemu-45b65bf8dfb46a03ff67c36424986e2450c5203e.tar.gz
qemu-45b65bf8dfb46a03ff67c36424986e2450c5203e.tar.bz2
Fix double free issue in qemu_set_log_filename().
After freeing the logfilename, we set logfilename to NULL, in case of an error which returns without setting logfilename. Signed-off-by: Robert Foley <robert.foley@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20191118211528.3221-2-robert.foley@linaro.org> (cherry picked from commit 0f516ca4767042aec8716369d6d62436fa10593a) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'os-win32.c')
0 files changed, 0 insertions, 0 deletions