CID 1296109

This commit is contained in:
Robin Mills
2015-04-28 14:44:47 +00:00
parent 081c3c5e7d
commit a69026c911
+1 -1
View File
@@ -866,7 +866,7 @@ namespace Exiv2 {
//! @name Creators
//@{
//! Default constructor. the init status of the block is bNone.
BlockMap():type_(bNone), data_(NULL) {}
BlockMap():type_(bNone), data_(NULL),size_(0) {}
//! Destructor. Releases all managed memory.
virtual ~BlockMap() {
if (data_) {std::free(data_); data_ = NULL;}