netdev-dpdk: fix mbuf leaks
[cascardo/ovs.git] / lib / perf-counter.c
index 8c859cc..62e2d76 100644 (file)
@@ -31,7 +31,7 @@
 #include "shash.h"
 #include "util.h"
 
-static struct shash perf_counters;
+static struct shash perf_counters = SHASH_INITIALIZER(&perf_counters);
 static int fd__ = 0;
 
 uint64_t