gui-fatal: fix message leak, since the dialog may not be fatal

This commit is contained in:
Vincent Penquerc'h 2013-12-29 08:07:17 -05:00 committed by Marek Marczykowski-Górecki
parent 3e8c0372c2
commit 960c85587f

View File

@ -35,6 +35,7 @@ static void produce_message(const char * type, const char *fmt, va_list args)
exit(1);
default:;
}
free(dialog_msg);
}
void gui_fatal(const char *fmt, ...)