Skip to content

Commit ce6cd00

Browse files
committed
Don't free members of struct before init
1 parent c978717 commit ce6cd00

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

menu/cbs/menu_cbs_ok.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,10 +707,7 @@ int generic_action_ok_displaylist_push(
707707
recording_state_t *recording_st = recording_state_get_ptr();
708708

709709
if (!menu || string_is_equal(menu_ident, "null"))
710-
{
711-
menu_displaylist_info_free(&info);
712710
return -1;
713-
}
714711

715712
#ifdef HAVE_AUDIOMIXER
716713
if (audio_enable_menu && audio_enable_menu_ok)

0 commit comments

Comments
 (0)