Commit c64b46f6 authored by Thomas Guillem's avatar Thomas Guillem

Fix crash: don't free stack pointer

This fixes a regression brought by 9f85beee
parent e1db0d5a
......@@ -1277,7 +1277,6 @@ int libvlc_media_player_get_chapter_count_for_title(
int i_ret = var_Change( p_input_thread, psz_name, VLC_VAR_CHOICESCOUNT, &val, NULL );
vlc_object_release( p_input_thread );
free( psz_name );
return i_ret == VLC_SUCCESS ? val.i_int : -1;
}
......
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