]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1091 in SNORT/snort3 from mtfw2 to master
authorMichael Altizer (mialtize) <mialtize@cisco.com>
Wed, 3 Jan 2018 18:13:47 +0000 (13:13 -0500)
committerMichael Altizer (mialtize) <mialtize@cisco.com>
Wed, 3 Jan 2018 18:13:47 +0000 (13:13 -0500)
Squashed commit of the following:

commit b202b0b1041a490986030875191bcd3d438eed43
Author: Michael Altizer <mialtize@cisco.com>
Date:   Wed Jan 3 12:52:21 2018 -0500

    file_api: Give FilePolicyBase a default virtual destructor

src/file_api/file_api.h

index 58eeeaec4fe95daa66368fce192566849c342fa2..4f16f8dab11b02e8098503a0f28860bdf7f2207d 100644 (file)
@@ -120,6 +120,8 @@ class SO_PUBLIC FilePolicyBase
 public:
 
     FilePolicyBase() = default;
+    virtual ~FilePolicyBase() = default;
+
     // This is called when a new flow is queried for the first time
     // Check & update what file policy is enabled on this flow/file
     virtual void policy_check(Flow*, FileInfo* ) { }