[vlc-commits] stream_filter: dash: fix memleak

Francois Cartegnie git at videolan.org
Thu Dec 18 22:39:47 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Nov 20 14:28:19 2014 +0100| [608f6ca6913e6c25bb64fe13bec89796cf44813b] | committer: Francois Cartegnie

stream_filter: dash: fix memleak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=608f6ca6913e6c25bb64fe13bec89796cf44813b
---

 modules/stream_filter/dash/mpd/Representation.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/stream_filter/dash/mpd/Representation.cpp b/modules/stream_filter/dash/mpd/Representation.cpp
index de3e374..8567b7b 100644
--- a/modules/stream_filter/dash/mpd/Representation.cpp
+++ b/modules/stream_filter/dash/mpd/Representation.cpp
@@ -51,6 +51,8 @@ Representation::~Representation ()
 {
     delete(this->segmentInfo);
     delete(this->trickModeType);
+    delete segmentBase;
+    delete segmentList;
     delete baseUrl;
 }
 



More information about the vlc-commits mailing list