[vlc-devel] commit: Fix potential segfault (CID 224) ( Rémi Duraffort )
git version control
git at videolan.org
Wed Oct 8 20:41:33 CEST 2008
vlc | branch: 0.9-bugfix | Rémi Duraffort <ivoire at videolan.org> | Mon Oct 6 20:36:20 2008 +0200| [091c9440e2e7ebf98f6875214bf9a442412d654c] | committer: Derk-Jan Hartman
Fix potential segfault (CID 224)
(cherry picked from commit eca65494437dfa2958df5712c6b7fb5ba0668b79)
Signed-off-by: Derk-Jan Hartman <hartman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=091c9440e2e7ebf98f6875214bf9a442412d654c
---
modules/access/rtmp/rtmp_amf_flv.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/access/rtmp/rtmp_amf_flv.c b/modules/access/rtmp/rtmp_amf_flv.c
index 2299db1..89c4364 100644
--- a/modules/access/rtmp/rtmp_amf_flv.c
+++ b/modules/access/rtmp/rtmp_amf_flv.c
@@ -1450,6 +1450,7 @@ rtmp_handler_invoke( rtmp_control_thread_t *p_thread, rtmp_packet_t *rtmp_packet
return;
error:
+ free( string );
free( tmp_rtmp_packet->body->body );
free( tmp_rtmp_packet->body );
free( tmp_rtmp_packet );
More information about the vlc-devel
mailing list