[vlc-devel] commit: Fix potential segfault (CID 224) ( Rémi Duraffort )
git version control
git at videolan.org
Mon Oct 6 21:03:08 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Oct 6 20:36:20 2008 +0200| [eca65494437dfa2958df5712c6b7fb5ba0668b79] | committer: Rémi Duraffort
Fix potential segfault (CID 224)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eca65494437dfa2958df5712c6b7fb5ba0668b79
---
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 554bf74..10022a9 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