From 04a572b3f5f88b46930855140e1d4aa6543249de Mon Sep 17 00:00:00 2001 From: Peter Stamfest Date: Wed, 19 Feb 2014 21:54:27 +0100 Subject: [PATCH] Fix double-free bug --- src/rrd_restore.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rrd_restore.c b/src/rrd_restore.c index dbdc3713..a1fd53f5 100644 --- a/src/rrd_restore.c +++ b/src/rrd_restore.c @@ -1162,8 +1162,6 @@ static rrd_t *parse_file( if (expect_element(reader,"rrd") != 0) { xmlFreeTextReader(reader); - - if (sctx != NULL) free(sctx); return (NULL); } -- 2.47.3