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

dialog: memory leak

parent fe8f8bb2
......@@ -201,6 +201,7 @@ int dialog_Question (vlc_object_t *obj, const char *title, const char *fmt,
dialog_question_t dialog = { title, text, yes, no, cancel, 0, };
var_SetAddress (provider, "dialog-question", &dialog);
answer = dialog.answer;
free (text);
}
va_end (ap);
vlc_object_release (provider);
......
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