diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-09-02 14:19:44 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-09-02 14:19:44 +0200 |
commit | 495f0b13e1b4b649368c970b139cc7fbdbefda84 (patch) | |
tree | 2c5cce4c19aeeba743e339efd066b01aad5946d5 /zebra/if_sysctl.c | |
parent | Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga in... (diff) | |
download | frr-495f0b13e1b4b649368c970b139cc7fbdbefda84.tar.xz frr-495f0b13e1b4b649368c970b139cc7fbdbefda84.zip |
Fix some more memory issues in Quagga
Ticket: CM-4109
Reviewed-by: CCR-3414
Testing: See bug
Fixup of these memory issues:
(A) peer->clear_node_queue was accidently removed. Add back in.
(B) Clean up bm->process_main_queue and bm->process_rsclient_queue initialization
(C) Some memory leaks
(D) Clean up unused threads
Diffstat (limited to 'zebra/if_sysctl.c')
-rw-r--r-- | zebra/if_sysctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/if_sysctl.c b/zebra/if_sysctl.c index 5e8099647..1150ec1b0 100644 --- a/zebra/if_sysctl.c +++ b/zebra/if_sysctl.c @@ -66,6 +66,7 @@ ifstat_update_sysctl (void) if (sysctl (mib, MIBSIZ, buf, &bufsiz, NULL, 0) < 0) { zlog (NULL, LOG_WARNING, "sysctl error by %s", safe_strerror (errno)); + XFREE(MTYPE_TMP, ref); return; } |