git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b176df
)
Fix memleak
author
Christophe Mutricy
<xtophe@videolan.org>
Sat, 22 Nov 2008 16:22:24 +0000
(16:22 +0000)
committer
Christophe Mutricy
<xtophe@videolan.org>
Sat, 22 Nov 2008 16:22:24 +0000
(16:22 +0000)
Closes #2308
modules/demux/live555.cpp
patch
|
blob
|
history
diff --git
a/modules/demux/live555.cpp
b/modules/demux/live555.cpp
index
fd84502
..
8e42941
100644
(file)
--- a/
modules/demux/live555.cpp
+++ b/
modules/demux/live555.cpp
@@
-783,6
+783,7
@@
static int SessionsSetup( demux_t *p_demux )
tk->p_buffer = (uint8_t *)malloc( 65536 );
if( !tk->p_buffer )
{
+ free( tk );
delete iter;
return VLC_ENOMEM;
}