vl: free err

err is not freed after use, thus causing memory leak. This patch fixes
it.

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Cc: qemu-trivial@nongnu.org
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Hu Tao authored and Michael Tokarev committed 2014-08-15 18:54:07 +04:00
1 parent 3952651a75
commit 3a9cbfe009
1 file changed
+1
+1
View File
@@ -2918,6 +2918,7 @@ out:
g_free(dummy);
if (err) {
qerror_report_err(err);
error_free(err);
return -1;
}
return 0;