Skip to content

Commit 546b9cd

Browse files
committed
Fix new-delete-type-mismatch sanitizer error
This error is emitted when exiting the game.
1 parent 8b1639e commit 546b9cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LEGO1/omni/include/mxvariable.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ class MxVariable {
1212
// FUNCTION: BETA10 0x1007b750
1313
MxVariable() {}
1414

15+
virtual ~MxVariable() {}
16+
1517
// FUNCTION: BETA10 0x1012a840
1618
MxVariable(const char* p_key, const char* p_value)
1719
{

0 commit comments

Comments
 (0)