mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-07 03:56:28 +02:00
macosx: Fix a memleak.
(ivoire, I guess there are potentially a lot of interaction related memleak).
This commit is contained in:
parent
d253749f68
commit
de587c2370
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user