X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ovsdb%2Fovsdb-tool.c;h=e83b49a129f24f7c41c61e4fd21ff31c6b155654;hb=e49190c4933bdb4219c7fe5fb84768a076a1ff75;hp=ecf998b38ff392a15e46ca9020247b24a62c5c42;hpb=e787d2f427266b774f67a8f5d5c45e12cbc1687a;p=sliver-openvswitch.git diff --git a/ovsdb/ovsdb-tool.c b/ovsdb/ovsdb-tool.c index ecf998b38..e83b49a12 100644 --- a/ovsdb/ovsdb-tool.c +++ b/ovsdb/ovsdb-tool.c @@ -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