Fix minor memory leaks found by valgrind.
[sliver-openvswitch.git] / ovsdb / ovsdb-tool.c
index ecf998b..e83b49a 100644 (file)
@@ -252,6 +252,10 @@ compact_or_convert(const char *src_name, const char *dst_name,
     }
 
     lockfile_unlock(dst_lock);
+
+    if (in_place) {
+        free((char *) dst_name);
+    }
 }
 
 static void