aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sls.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}