mirror of
https://github.com/bol-van/zapret2.git
synced 2026-05-27 18:50:47 +04:00
nfqws2: nfq close ifname sock after queue deinit
This commit is contained in:
+1
-1
@@ -605,10 +605,10 @@ exok:
|
||||
res=0;
|
||||
ex:
|
||||
if (Fpid) fclose(Fpid);
|
||||
if (cbdata.sock>=0) close(cbdata.sock);
|
||||
free(cbdata.mod);
|
||||
free(buf);
|
||||
nfq_deinit(&h, &qh);
|
||||
if (cbdata.sock>=0) close(cbdata.sock);
|
||||
lua_shutdown();
|
||||
#ifdef HAS_FILTER_SSID
|
||||
wlan_info_deinit();
|
||||
|
||||
Reference in New Issue
Block a user