]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Need to call virFreeError after virSaveLastError
authorJohn Ferlan <jferlan@redhat.com>
Tue, 30 Apr 2013 17:39:28 +0000 (13:39 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 30 Apr 2013 17:39:28 +0000 (13:39 -0400)
src/network/bridge_driver.c

index 19c9bdb4fe89be48e1690cf8a98eb40cff0e5dfd..8da28e45d0de3b839fb9acbbfdd85406199e9777 100644 (file)
@@ -2141,6 +2141,7 @@ err:
 
     /* return the original error */
     virSetError(orig_error);
+    virFreeError(orig_error);
     return -1;
 }