diff options
author | Justin McPherson <justin.mcpherson@nokia.com> | 2010-03-03 06:03:26 (GMT) |
---|---|---|
committer | Justin McPherson <justin.mcpherson@nokia.com> | 2010-03-03 07:10:34 (GMT) |
commit | a8d10340dce323030e6e3b197eb1849af303f4d0 (patch) | |
tree | 224fb29d24fc1e5b80b2deb6cdffac4e6defc23c /src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm | |
parent | 399858f133819eac1d7a71029cc132c76a6e0bbc (diff) | |
download | Qt-a8d10340dce323030e6e3b197eb1849af303f4d0.zip Qt-a8d10340dce323030e6e3b197eb1849af303f4d0.tar.gz Qt-a8d10340dce323030e6e3b197eb1849af303f4d0.tar.bz2 |
QT7 mediaservice; Fix memory leak
Reviewed-by: Dmytro Poplavskiy
Diffstat (limited to 'src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm')
-rw-r--r-- | src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm b/src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm index b046672..59d01a2 100644 --- a/src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm +++ b/src/plugins/mediaservices/qt7/mediaplayer/qt7playermetadata.mm @@ -251,6 +251,7 @@ void QT7PlayerMetaDataControl::updateTags() readFormattedData(metaDataRef, kQTMetaDataStorageFormatiTunes, metaMap); } #else + AutoReleasePool pool; NSString *name = [movie attributeForKey:@"QTMovieDisplayNameAttribute"]; metaMap.insert(QLatin1String("nam"), QString::fromUtf8([name UTF8String])); #endif // QUICKTIME_C_API_AVAILABLE |