From 960c85587f6a9eb15aa6e1a0109ba83ad41be5cc Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Sun, 29 Dec 2013 08:07:17 -0500 Subject: [PATCH] gui-fatal: fix message leak, since the dialog may not be fatal --- qubes-rpc/gui-fatal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qubes-rpc/gui-fatal.c b/qubes-rpc/gui-fatal.c index 1589231..69a1dd8 100644 --- a/qubes-rpc/gui-fatal.c +++ b/qubes-rpc/gui-fatal.c @@ -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, ...)