From 2bafaf9984f31d0b7cb6ae01a4bd4d5ee3929ec4 Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Thu, 9 Mar 2017 09:47:32 +0100 Subject: SLS: fix also missed free --- src/sls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sls.cpp b/src/sls.cpp index a9a61d4..7265a0e 100644 --- a/src/sls.cpp +++ b/src/sls.cpp @@ -398,7 +398,7 @@ bool SLSManager::encodeFile(const std::string& fname, int fidx, bool raw_slides) } resize_required = false; } else { - free(blob); + MagickRelinquishMemory(blob); blob = NULL; } } -- cgit v1.2.3