From 393dee4fd784ec0f0a32f83b91cfabf034d2a2a6 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 3 Sep 2013 20:01:05 +0100 Subject: [PATCH] Squash leak in error case. --- desktop/hotlist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/hotlist.c b/desktop/hotlist.c index 68caa2097..a25d3f014 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -831,6 +831,7 @@ static nserror hotlist_generate(void) nsurl_unref(url); if (err != NSERROR_OK) { + free(title); return NSERROR_NOMEM; } }