Browse Source

[Minor] Oops, fix another case of dtors

tags/2.1
Vsevolod Stakhov 4 years ago
parent
commit
cb3a94c63d
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/lua/lua_regexp.c

+ 3
- 1
src/lua/lua_regexp.c View File

@@ -900,5 +900,7 @@ luaopen_regexp (lua_State * L)
}

RSPAMD_DESTRUCTOR (lua_re_static_pool_dtor) {
rspamd_mempool_delete (regexp_static_pool);
if (regexp_static_pool) {
rspamd_mempool_delete (regexp_static_pool);
}
}

Loading…
Cancel
Save