ovsdb-server: Fix minor memory leak.
authorBen Pfaff <blp@nicira.com>
Mon, 4 Jan 2010 21:13:12 +0000 (13:13 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 4 Jan 2010 21:13:12 +0000 (13:13 -0800)
Noticed by Justin Pettit.

ovsdb/ovsdb-server.c

index 9250914fa07542ce8cc5aaba95e5aacdbaa8643b..116c486b2e5b472c702ba0079f3fc81287d4ad44 100644 (file)
@@ -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