summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_ns.h
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 /zebra/zebra_ns.h
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 'zebra/zebra_ns.h')
-rw-r--r--zebra/zebra_ns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h
index 8a821c465..c50f9249d 100644
--- a/zebra/zebra_ns.h
+++ b/zebra/zebra_ns.h
@@ -32,7 +32,7 @@ struct nlsock
int sock;
int seq;
struct sockaddr_nl snl;
- const char *name;
+ char name[64];
};
#endif