1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00

Release the proper object

This commit is contained in:
Rémi Denis-Courmont 2009-03-07 12:25:38 +02:00
parent eeaad0a834
commit df887d8444

View File

@ -115,7 +115,7 @@ void dialog_FatalVa (vlc_object_t *obj, const char *title,
dialog_fatal_t dialog = { title, text, }; dialog_fatal_t dialog = { title, text, };
var_SetAddress (provider, "dialog-fatal", &dialog); var_SetAddress (provider, "dialog-fatal", &dialog);
free (text); free (text);
vlc_object_release (obj); vlc_object_release (provider);
} }
#undef dialog_Fatal #undef dialog_Fatal