diff options
Diffstat (limited to 'src/variant.cpp')
-rw-r--r-- | src/variant.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/variant.cpp b/src/variant.cpp index 9665261..6b304ba 100644 --- a/src/variant.cpp +++ b/src/variant.cpp | |||
@@ -36,6 +36,11 @@ Bu::Variant::Variant( const Variant &v ) : | |||
36 | 36 | ||
37 | Bu::Variant::~Variant() | 37 | Bu::Variant::~Variant() |
38 | { | 38 | { |
39 | if( pCore ) | ||
40 | { | ||
41 | delete pCore; | ||
42 | pCore = NULL; | ||
43 | } | ||
39 | } | 44 | } |
40 | 45 | ||
41 | bool Bu::Variant::isSet() | 46 | bool Bu::Variant::isSet() |