From: Vincent Bernat Date: Wed, 20 May 2015 18:34:27 +0000 (+0200) Subject: lldpcli: fix another memory leak when querying statistics X-Git-Tag: 0.7.15~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39a39abf7c9ce3a146dbbe32740bcf228d573e35;p=thirdparty%2Flldpd.git lldpcli: fix another memory leak when querying statistics --- diff --git a/src/client/display.c b/src/client/display.c index f68027d8..bac8b75f 100644 --- a/src/client/display.c +++ b/src/client/display.c @@ -737,6 +737,7 @@ display_interfaces_stats(lldpctl_conn_t *conn, struct writer *w, h_delete_cnt += lldpctl_atom_get_int(port, lldpctl_k_delete_cnt); } + lldpctl_atom_dec_ref(port); } if (summary) {