From 95416175cdf347df6c7ea78c65db7578ad259409 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 9 Aug 2011 08:41:14 +0200 Subject: [PATCH] Bugfix: use FREE to correctly handle NULL replies --- src/handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers.c b/src/handlers.c index b83ac83d..f19b53c8 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -113,7 +113,7 @@ static int handle_key_press(xcb_key_press_event_t *event) { } char *json_result = parse_cmd(bind->command); - free(json_result); + FREE(json_result); return 1; }