]> source.dussan.org Git - rspamd.git/commit
[Minor] Fixed error reported by ASAN: do not try usins already pop-ed watcher 2491/head
authorMikhail Galanin <mgalanin@mimecast.com>
Tue, 18 Sep 2018 09:20:28 +0000 (10:20 +0100)
committerMikhail Galanin <mgalanin@mimecast.com>
Tue, 18 Sep 2018 09:20:28 +0000 (10:20 +0100)
commit8b26fafde4f09ada6deec0a550e1bb955e6afe16
tree4d7c9692f6e26013b3afd362977136c6367a0f1a
parent5b571379f3a2493f53eabd331da42ddcdcce4921
[Minor] Fixed error reported by ASAN: do not try usins already pop-ed watcher

The watcher is pop-ed once session is over but reference to the structure remains in Lua and then being removed from lua dtor.
In this case we try to pop it second time. Bad.
src/lua/lua_tcp.c