From 7468bb679448a7df811951f8a383aedd31356b44 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 28 Apr 2008 22:22:38 +0200 Subject: [PATCH] [client] Fix potential memory leak on client string parsing errors Signed-off-by: Julien Danjou --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index 21cc8bc7d..11a644e65 100644 --- a/client.c +++ b/client.c @@ -831,7 +831,7 @@ client_markup_parse(client_t *c, const char *str, ssize_t len) p->text = NULL; } else - return a_strdup(str); + ret = a_strdup(str); markup_parser_data_delete(&p); p_delete(&title_esc);