Commit 091c9440 authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Derk-Jan Hartman

Fix potential segfault (CID 224)

(cherry picked from commit eca65494)
Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent 7140c12a
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment