Commit de587c23 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Fix a memleak.

(ivoire, I guess there are potentially a lot of interaction related memleak).
parent d253749f
......@@ -1354,7 +1354,7 @@
_("Please enter a name for the new node."), &psz_name );
PL_LOCK;
if( ret_v != DIALOG_CANCELLED && psz_name && *psz_name )
if( ret_v != DIALOG_CANCELLED && psz_name )
{
playlist_NodeCreate( p_playlist, psz_name,
p_playlist->p_local_category, 0, NULL );
......@@ -1367,6 +1367,7 @@
}
PL_UNLOCK;
free( psz_name );
pl_Release( VLCIntf );
[ourPool release];
}
......
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