From: Ben Pfaff Date: Mon, 4 Jan 2010 21:13:12 +0000 (-0800) Subject: ovsdb-server: Fix minor memory leak. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0d172519ccfd0a34e3a962197cede8fe7bd2d49;p=openvswitch ovsdb-server: Fix minor memory leak. Noticed by Justin Pettit. --- diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index 9250914f..116c486b 100644 --- a/ovsdb/ovsdb-server.c +++ b/ovsdb/ovsdb-server.c @@ -161,6 +161,8 @@ query_db_remotes(const char *name_, const struct ovsdb *db, shash_add_once(remotes, datum->keys[i].string, NULL); } } + + free(name); } static void