projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2280e72
)
ovsdb-server: Fix minor memory leak.
author
Ben Pfaff
<blp@nicira.com>
Mon, 4 Jan 2010 21:13:12 +0000
(13:13 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 4 Jan 2010 21:13:12 +0000
(13:13 -0800)
Noticed by Justin Pettit.
ovsdb/ovsdb-server.c
patch
|
blob
|
history
diff --git
a/ovsdb/ovsdb-server.c
b/ovsdb/ovsdb-server.c
index 9250914fa07542ce8cc5aaba95e5aacdbaa8643b..116c486b2e5b472c702ba0079f3fc81287d4ad44 100644
(file)
--- 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