]> xenbits.xensource.com Git - libvirt.git/commit
free tmp after unlinking it
authorWen Congyang <wency@cn.fujitsu.com>
Thu, 31 Mar 2011 03:28:21 +0000 (11:28 +0800)
committerWen Congyang <wency@cn.fujitsu.com>
Fri, 1 Apr 2011 04:15:21 +0000 (12:15 +0800)
commite206946da781cfc9de145f3364d3c42f82188a80
tree0fda38856227b911246b07486ff1eb77440583b9
parent51434d3bef8696fc07cc98929f00c14826aaf43d
free tmp after unlinking it

We create a temporary file to save memory, and we will remove it after reading
memory to buffer. But we free the variable that contains the temporary filename
before we remove it. So we should free tmp after unlinking it.
src/qemu/qemu_driver.c