]> git.stg.codes - stg.git/blobdiff - include/stg/tariff.h
Fix occasional crash on second and more reload in SMUX plugin
[stg.git] / include / stg / tariff.h
index 189dde5916c6dfe96a2817be093b5c53a9dd5097..a5b1d2e9253ad3a441e283e3409e19c4dd0ae6a4 100644 (file)
@@ -30,6 +30,7 @@
 
 class TARIFF {
 public:
 
 class TARIFF {
 public:
+    virtual ~TARIFF() {}
     virtual double  GetPriceWithTraffType(uint64_t up,
                                           uint64_t down,
                                           int dir,
     virtual double  GetPriceWithTraffType(uint64_t up,
                                           uint64_t down,
                                           int dir,