From a0d172519ccfd0a34e3a962197cede8fe7bd2d49 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 4 Jan 2010 13:13:12 -0800 Subject: [PATCH] ovsdb-server: Fix minor memory leak. Noticed by Justin Pettit. --- ovsdb/ovsdb-server.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2