diff options
-rw-r--r-- | src/im-sandbox.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index eb0b942f..22e2c05f 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -444,7 +444,9 @@ static int run_work(const struct index_args *iargs, Stream *st, process_image(iargs, &pargs, st, cookie, tmpdir, ser, sb->shared, taccs, sb->shared->last_task[cookie]); - free(pargs.zmq_data); + /* pargs.zmq_data will be copied into the image structure, so + * that it can be queried for "header" values etc. It will + * eventually be freed by image_free() under process_image() */ } im_zmq_shutdown(zmqstuff); |