Add a virtual destrcutor to value to prevent memory leak in RTFValue
This commit is contained in:
committed by
Miklos Vajna
parent
befc846e1b
commit
f32fe9f501
@@ -295,6 +295,8 @@ public:
|
|||||||
typedef auto_ptr<Value> Pointer_t;
|
typedef auto_ptr<Value> Pointer_t;
|
||||||
SAL_WNODEPRECATED_DECLARATIONS_POP
|
SAL_WNODEPRECATED_DECLARATIONS_POP
|
||||||
|
|
||||||
|
virtual ~Value() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns integer representation of the value.
|
Returns integer representation of the value.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user