summaryrefslogtreecommitdiffstats
path: root/pimd/pim_oil.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-12-11 21:24:13 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:19 +0100
commit693c9259df885073c4f7bb36a4a0ec6311ed8e39 (patch)
tree4faa378c08585687e690ebc096ce4dc142fdc0c2 /pimd/pim_oil.c
parentpimd: Allow us to repair missed inherited_olists (diff)
downloadfrr-693c9259df885073c4f7bb36a4a0ec6311ed8e39.tar.xz
frr-693c9259df885073c4f7bb36a4a0ec6311ed8e39.zip
pimd: Fix cleanup crash
When shutting down, actually delete the right data structures. Stupid cut-n-paste error on my part. Ticket: CM-14018 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_oil.c')
-rw-r--r--pimd/pim_oil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_oil.c b/pimd/pim_oil.c
index 44c832434..aa059797d 100644
--- a/pimd/pim_oil.c
+++ b/pimd/pim_oil.c
@@ -100,7 +100,8 @@ pim_oil_terminate (void)
pim_channel_oil_list = NULL;
if (pim_channel_oil_hash)
- hash_free (pim_upstream_hash);
+ hash_free (pim_channel_oil_hash);
+ pim_channel_oil_hash = NULL;
}
void pim_channel_oil_free(struct channel_oil *c_oil)