gui-fatal: fix message leak, since the dialog may not be fatal
This commit is contained in:
parent
3e8c0372c2
commit
960c85587f
@ -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, ...)
|
||||
|
Loading…
Reference in New Issue
Block a user