projects
/
platform
/
framework
/
native
/
media.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec2e9ae
)
Fix the memory leak
author
EonseokLee
<eonseok.lee@samsung.com>
Mon, 22 Apr 2013 13:39:44 +0000
(22:39 +0900)
committer
EonseokLee
<eonseok.lee@samsung.com>
Mon, 22 Apr 2013 13:39:44 +0000
(22:39 +0900)
Change-Id: I80c10f9bf4b3ed176feb2928bcdd785e8dc93ecb
Signed-off-by: EonseokLee <eonseok.lee@samsung.com>
src/FMedia_MediaStreamInfoImpl.cpp
patch
|
blob
|
history
diff --git
a/src/FMedia_MediaStreamInfoImpl.cpp
b/src/FMedia_MediaStreamInfoImpl.cpp
index
82a77c3
..
0888a3d
100644
(file)
--- a/
src/FMedia_MediaStreamInfoImpl.cpp
+++ b/
src/FMedia_MediaStreamInfoImpl.cpp
@@
-47,11
+47,15
@@
_MediaStreamInfoImpl::~_MediaStreamInfoImpl()
if (__pAudioStreamList != null)
{
__pAudioStreamList->RemoveAll(true);
+ delete __pAudioStreamList;
+ __pAudioStreamList = null;
}
if (__pVideoStreamList != null)
{
__pVideoStreamList->RemoveAll(true);
+ delete __pVideoStreamList;
+ __pVideoStreamList = null;
}
if (__pAlbumArt)
{