Commit 3e0ef875 authored by Rémi Duraffort's avatar Rémi Duraffort

Use pl_Release.

parent 494ace96
...@@ -209,7 +209,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -209,7 +209,7 @@ static int Open( vlc_object_t *p_this )
msg_Dbg( p_playlist, "unable to find item in playlist"); msg_Dbg( p_playlist, "unable to find item in playlist");
vlc_object_release( p_input ); vlc_object_release( p_input );
} }
vlc_object_release( p_playlist ); pl_Release( p_access );
} }
if( i_ret < 0 ) if( i_ret < 0 )
goto error; goto error;
......
...@@ -965,7 +965,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda, ...@@ -965,7 +965,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
p_playlist->status.p_item, NULL ); p_playlist->status.p_item, NULL );
} }
if (p_playlist) vlc_object_release( p_playlist ); if (p_playlist) pl_Release( p_access );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
...@@ -215,7 +215,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len) ...@@ -215,7 +215,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
if( !p_input ) if( !p_input )
{ {
msg_Err( p_access, "unable to find input (internal error)" ); msg_Err( p_access, "unable to find input (internal error)" );
vlc_object_release( p_playlist ); pl_Release( p_access );
return VLC_ENOOBJ; return VLC_ENOOBJ;
} }
...@@ -226,7 +226,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len) ...@@ -226,7 +226,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
{ {
msg_Err( p_access, "unable to find item in playlist" ); msg_Err( p_access, "unable to find item in playlist" );
vlc_object_release( p_input ); vlc_object_release( p_input );
vlc_object_release( p_playlist ); pl_Release( p_playlist );
return VLC_ENOOBJ; return VLC_ENOOBJ;
} }
...@@ -264,7 +264,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len) ...@@ -264,7 +264,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
free( psz_name ); free( psz_name );
vlc_object_release( p_input ); vlc_object_release( p_input );
vlc_object_release( p_playlist ); pl_Release( p_access );
/* Return fake data forever */ /* Return fake data forever */
p_access->pf_read = ReadNull; p_access->pf_read = ReadNull;
......
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