0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-19 08:21:09 +01:00

sno_whois: fix resource leak, pointed out by mniip

This commit is contained in:
William Pitcock 2015-12-27 17:08:57 -06:00
parent 0b904d91bf
commit 340b2512d4

View file

@ -37,7 +37,7 @@ init(void)
static void static void
fini(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 $"); DECLARE_MODULE_AV1(sno_whois, init, fini, NULL, NULL, whois_hfnlist, "$Revision: 3498 $");