]> git.ipfire.org Git - thirdparty/suricata.git/commit
output-file: fix memleak
authorEric Leblond <eric@regit.org>
Fri, 4 Mar 2016 12:38:54 +0000 (13:38 +0100)
committerEric Leblond <eric@regit.org>
Mon, 7 Mar 2016 22:12:07 +0000 (23:12 +0100)
commit24e4edd118c697adb6a0839cfecd18868379dfb9
tree12754ce0977c29a50c3c8ac6e4b6a8aa45d8162c
parentc49145a79aab1cf010a1e1766d6329555881a231
output-file: fix memleak

This fixes:

Direct leak of 31856 byte(s) in 3982 object(s) allocated from:
    #0 0x4c396b in malloc (/opt/suricata-asan/bin/suricata+0x4c396b)
    #1 0xd7ff39 in OutputFileLogThreadInit /home/pmanev/sandnet-qa/stage/oisf/src/output-file.c:182:34
    #2 0x106c255 in TmThreadsSlotPktAcqLoop /home/pmanev/sandnet-qa/stage/oisf/src/tm-threads.c:295:17
    #3 0x7fbc9fcb3181 in start_thread /build/eglibc-3GlaMS/eglibc-2.19/nptl/pthread_create.c:312
src/output-file.c