From 340b2512d4bdd0f6c69ca2e5c2bd33353d347d02 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 27 Dec 2015 17:08:57 -0600 Subject: [PATCH] sno_whois: fix resource leak, pointed out by mniip --- extensions/sno_whois.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/sno_whois.c b/extensions/sno_whois.c index 7df6725e..2ff5d477 100644 --- a/extensions/sno_whois.c +++ b/extensions/sno_whois.c @@ -37,7 +37,7 @@ init(void) static void fini(void) { - snomask_modes['W'] = find_snomask_slot(); + snomask_modes['W'] = 0; } DECLARE_MODULE_AV1(sno_whois, init, fini, NULL, NULL, whois_hfnlist, "$Revision: 3498 $");