From f889f0ccbf354792e355ec8fc3fe7654552f2864 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 3 May 2013 14:31:23 +0100 Subject: fix leak in error path --- content/content.c | 1 + 1 file changed, 1 insertion(+) diff --git a/content/content.c b/content/content.c index 3533d943c..9482fb976 100644 --- a/content/content.c +++ b/content/content.c @@ -92,6 +92,7 @@ nserror content__init(struct content *c, const content_handler *handler, if (fallback_charset != NULL) { c->fallback_charset = strdup(fallback_charset); if (c->fallback_charset == NULL) { + free(user_sentinel); return NSERROR_NOMEM; } } -- cgit v1.2.3