Commit df887d84 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Release the proper object

parent eeaad0a8
...@@ -115,7 +115,7 @@ void dialog_FatalVa (vlc_object_t *obj, const char *title, ...@@ -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
......
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