Commit 7c9181f6 authored by dionoea's avatar dionoea
Browse files

Fix image handler leak. (CID 102)

parent a9565f33
......@@ -648,6 +648,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
if( !val.psz_string )
msg_Err( p_vout, "no path specified for snapshots" );
image_HandlerDelete( p_image );
var_Get( p_vout, "snapshot-format", &format );
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