Selaa lähdekoodia

Merge pull request #703 from Ragora/bugfix-allocation-size-mismatch

BugFix: Fix a Windows ASAN reported allocation/deallocation mismatch error.
Brian Roberts 3 vuotta sitten
vanhempi
commit
1f4c488640
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      Engine/source/sim/netConnection.h

+ 1 - 0
Engine/source/sim/netConnection.h

@@ -692,6 +692,7 @@ public:
 
       PacketNotify *nextPacket;  ///< Next packet sent.
       PacketNotify();
+      virtual ~PacketNotify() = default;
    };
    virtual PacketNotify *allocNotify();
    PacketNotify *mNotifyQueueHead;  ///< Head of packet notify list.