aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/im-sandbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index 759c5442..b646441b 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -1143,6 +1143,7 @@ int create_sandbox(struct index_args *iargs, int n_proc, char *prefix,
if ( sb->zmq && sb->asapo ) {
ERROR("Cannot simultaneously use ZMQ and ASAP::O input.\n");
+ free(sb);
return 0;
}