mirror of
https://code.videolan.org/videolan/vlc
synced 2024-07-21 07:24:15 +02:00
telepathy: don't Close() twice. one time when we encounter an error, one more time when VLC exits.
This commit is contained in:
parent
1995f882d4
commit
7e6bc77e17
@ -193,7 +193,6 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
|
||||
switch( SendToTelepathy( p_intf, "" ) )
|
||||
{
|
||||
case VLC_ENOMEM:
|
||||
Close( p_this );
|
||||
return VLC_ENOMEM;
|
||||
default:
|
||||
return VLC_SUCCESS;
|
||||
@ -208,7 +207,6 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
|
||||
if( SendToTelepathy( p_intf, psz_buf ) == VLC_ENOMEM )
|
||||
{
|
||||
free( psz_buf );
|
||||
Close( p_this );
|
||||
return VLC_ENOMEM;
|
||||
}
|
||||
free( psz_buf );
|
||||
|
Loading…
Reference in New Issue
Block a user