Commit 72165d74 authored by Rémi Duraffort's avatar Rémi Duraffort

update: fix use after free

parent 4302a6f7
...@@ -922,8 +922,8 @@ int download_signature( vlc_object_t *p_this, signature_packet_t *p_sig, ...@@ -922,8 +922,8 @@ int download_signature( vlc_object_t *p_this, signature_packet_t *p_sig,
if( packet_type( *p_buf ) != SIGNATURE_PACKET ) if( packet_type( *p_buf ) != SIGNATURE_PACKET )
{ {
free( p_buf );
msg_Dbg( p_this, "Not a signature: %d", *p_buf ); msg_Dbg( p_this, "Not a signature: %d", *p_buf );
free( p_buf );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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