]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2556 in SNORT/snort3 from ~NEHASH4/snort3:file_capture_crash...
authorBhargava Jandhyala (bjandhya) <bjandhya@cisco.com>
Fri, 23 Oct 2020 05:21:16 +0000 (05:21 +0000)
committerBhargava Jandhyala (bjandhya) <bjandhya@cisco.com>
Fri, 23 Oct 2020 05:21:16 +0000 (05:21 +0000)
Squashed commit of the following:

commit 84f72acbf7af1616816bc32330db415f73706eef
Author: Neha Sharma <nehash4@cisco.com>
Date:   Thu Oct 15 07:25:33 2020 -0400

    file_api: file_mempool deletion removed

src/file_api/file_capture.cc

index 57a0f99d09ee062172a09e2378e413605f2f8119..9519471fa015fcba781e8dc126c334e289fc56a8 100644 (file)
@@ -156,12 +156,6 @@ void FileCapture::exit()
         delete file_storer;
         file_storer = nullptr;
     }
-
-    if (file_mempool)
-    {
-        delete file_mempool;
-        file_mempool = nullptr;
-    }
 }
 
 /*