From f712586704bacb628a896c0a77b6a8c40d331005 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Wed, 29 Jan 2003 21:25:59 +0000 Subject: [PATCH] Fix small memory leak when spawning a command fails (Old svn revision: 10883) --- src/events.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/events.c b/src/events.c index 291e4f076..7e90e7e6a 100644 --- a/src/events.c +++ b/src/events.c @@ -175,6 +175,7 @@ static inline void spawn_shortcut(int i) if (error) { g_warning("%s: %s", g_get_prgname(), error->message); + g_error_free(error); } } } -- GitLab