[vlc-commits] access: live555: fix mem leaks (cid #1346966, #1346965, #1346964)
Francois Cartegnie
git at videolan.org
Thu Dec 31 15:29:44 CET 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 31 15:01:22 2015 +0100| [6e1c08a211f681d9d122f019491747d3c01cc30c] | committer: Francois Cartegnie
access: live555: fix mem leaks (cid #1346966, #1346965, #1346964)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e1c08a211f681d9d122f019491747d3c01cc30c
---
modules/access/live555.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index efd66f3..97a35af 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -1069,9 +1069,8 @@ static int SessionsSetup( demux_t *p_demux )
{
memcpy( ((char*)tk->fmt.p_extra)+i_extra1+i_extra2, p_extra3, i_extra3 );
}
-
- delete[] p_extra1; delete[] p_extra2; delete[] p_extra3;
}
+ delete[] p_extra1; delete[] p_extra2; delete[] p_extra3;
}
#endif
else if( !strcmp( sub->codecName(), "JPEG" ) )
More information about the vlc-commits
mailing list