aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-01-22 15:54:01 +0100
committerThomas White <taw@physics.org>2019-01-22 15:54:01 +0100
commit3d50f6c2a29a7897016be2789af8c8116ade8bb5 (patch)
treee2b6e90ebd8a32ce200252a02273a03fef4fd8ef /src/im-sandbox.c
parent238da95f7607955ba85fe34f5850f62c6df704cc (diff)
Fix some small memory leaks
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index 0f57fd0c..b73e4707 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -912,6 +912,9 @@ static void delete_temporary_folder(const char *tmpdir, int n_proc)
if ( rmdir(tmpdir) ) {
ERROR("Failed to delete temporary folder: %s\n", strerror(errno));
}
+
+ free(workerdir);
+ free(path);
}