summaryrefslogtreecommitdiffstats
path: root/lib/qobj.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-11-01 21:57:53 +0100
committerRenato Westphal <renato@opensourcerouting.org>2016-11-28 19:15:27 +0100
commit58ac32e2d598b5dc45fa05b7a8a85b107571d697 (patch)
treef55826dc4efaec046bd339e19bcfb13cdf672ae2 /lib/qobj.c
parentbgpd: release all memory explicitly on exit (diff)
downloadfrr-58ac32e2d598b5dc45fa05b7a8a85b107571d697.tar.xz
frr-58ac32e2d598b5dc45fa05b7a8a85b107571d697.zip
zebra/lib: plug several memleaks
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/qobj.c')
-rw-r--r--lib/qobj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/qobj.c b/lib/qobj.c
index 65b537f96..f64972e32 100644
--- a/lib/qobj.c
+++ b/lib/qobj.c
@@ -78,6 +78,7 @@ void qobj_init (void)
void qobj_finish (void)
{
+ hash_clean (nodes, NULL);
hash_free (nodes);
nodes = NULL;
}