aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSahil Sachdeva <sahils@google.com>2009-10-15 16:34:05 -0700
committerSahil Sachdeva <sahils@google.com>2009-11-03 12:13:26 -0800
commit69e7ca934b4ec0e0c383ab6cf51bdf11e7f88137 (patch)
treef5f65c60f44810da587a6b987d807646f171ce2b
parent2481a6567e626133c1b52e0ebd2bb68f85e2af98 (diff)
downloadopencore-69e7ca934b4ec0e0c383ab6cf51bdf11e7f88137.tar.gz
DO NOT MERGE TO MR2
2182414 Fix for [RIO-7731] valgrind error in opencore. (cherry picked from commit 89369ebd893c0fd29f72f44b9fed8842cab593bf)
-rw-r--r--fileformats/mp4/parser/src/assetinfoatoms.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fileformats/mp4/parser/src/assetinfoatoms.cpp b/fileformats/mp4/parser/src/assetinfoatoms.cpp
index 1214361e5..a1adfac02 100644
--- a/fileformats/mp4/parser/src/assetinfoatoms.cpp
+++ b/fileformats/mp4/parser/src/assetinfoatoms.cpp
@@ -752,17 +752,17 @@ AssetInfoLocationAtom::~AssetInfoLocationAtom()
{
if (_pLocationStruct->_location_name != NULL)
{
- PV_MP4_FF_DELETE(NULL, oscl_wchar, _pLocationStruct->_location_name);
+ PV_MP4_ARRAY_DELETE(NULL, _pLocationStruct->_location_name);
_pLocationStruct->_location_name = NULL;
}
if (_pLocationStruct->_astronomical_body != NULL)
{
- PV_MP4_FF_DELETE(NULL, oscl_wchar, _pLocationStruct->_astronomical_body);
+ PV_MP4_ARRAY_DELETE(NULL, _pLocationStruct->_astronomical_body);
_pLocationStruct->_astronomical_body = NULL;
}
if (_pLocationStruct->_additional_notes != NULL)
{
- PV_MP4_FF_DELETE(NULL, oscl_wchar, _pLocationStruct->_additional_notes);
+ PV_MP4_ARRAY_DELETE(NULL, _pLocationStruct->_additional_notes);
_pLocationStruct->_additional_notes = NULL;
}
}