From 560faaa7be1d2befcc4f51becf68c844b4110b12 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 4 May 2013 08:45:04 +0100 Subject: free memory on error condition --- content/content.c | 1 + 1 file changed, 1 insertion(+) (limited to 'content') diff --git a/content/content.c b/content/content.c index 9482fb976..941e189ea 100644 --- a/content/content.c +++ b/content/content.c @@ -1338,6 +1338,7 @@ nserror content__clone(const struct content *c, struct content *nc) error = llcache_handle_clone(c->llcache, &(nc->llcache)); if (error != NSERROR_OK) { + free(user_sentinel); return error; } -- cgit v1.2.3