[vlc-commits] demux: adaptative: fix mismatched destructor
Francois Cartegnie
git at videolan.org
Tue Sep 22 00:38:50 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Sep 15 23:41:31 2015 +0200| [202a0ae0ad02f108ed2d2181f313c667748b185b] | committer: Francois Cartegnie
demux: adaptative: fix mismatched destructor
at least, valgrind complains
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=202a0ae0ad02f108ed2d2181f313c667748b185b
---
modules/demux/adaptative/plumbing/FakeESOut.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptative/plumbing/FakeESOut.cpp b/modules/demux/adaptative/plumbing/FakeESOut.cpp
index 3baecf8..7c0a20b 100644
--- a/modules/demux/adaptative/plumbing/FakeESOut.cpp
+++ b/modules/demux/adaptative/plumbing/FakeESOut.cpp
@@ -55,7 +55,7 @@ FakeESOut::~FakeESOut()
recycleAll();
gc();
- free( fakeesout );
+ delete fakeesout;
vlc_mutex_destroy( &lock );
}
More information about the vlc-commits
mailing list