[vlc-commits] dash: MPDManager: Fixing memory leak
Hugo Beauzée-Luyssen
git at videolan.org
Sat Nov 26 12:34:37 CET 2011
vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Fri Nov 25 14:55:37 2011 +0100| [b3b66ecf038101243a7e8041dca8acaf8b836bd0] | committer: Jean-Baptiste Kempf
dash: MPDManager: Fixing memory leak
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b3b66ecf038101243a7e8041dca8acaf8b836bd0
---
modules/stream_filter/dash/DASHManager.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/stream_filter/dash/DASHManager.cpp b/modules/stream_filter/dash/DASHManager.cpp
index aa4e8fb..b97e2cc 100644
--- a/modules/stream_filter/dash/DASHManager.cpp
+++ b/modules/stream_filter/dash/DASHManager.cpp
@@ -48,7 +48,8 @@ DASHManager::DASHManager (HTTPConnectionManager *conManager, Node *node, IAda
}
DASHManager::~DASHManager ()
{
- delete(this->adaptationLogic);
+ delete this->adaptationLogic;
+ delete this->mpdManager;
}
int DASHManager::read (void *p_buffer, size_t len)
More information about the vlc-commits
mailing list