aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-07-26 14:46:11 +0200
committerThomas White <taw@physics.org>2023-07-26 15:41:23 +0200
commit18055d900d4566f01db478d2df381acb013559e7 (patch)
treed4b48881d5fc945284a6e7ba2e7d53de2d6c3fc8 /src/im-sandbox.c
parenta280fa09fcfc11afd1db610ea183995df5d3267d (diff)
indexamajig: Fix a few 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 7f02b1cf..c642988f 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -529,6 +529,9 @@ static int run_work(const struct index_args *iargs, Stream *st,
if ( sb->profile ) {
profile_print_and_reset(cookie);
}
+
+ free(pargs.filename);
+ free(pargs.event);
}
/* These are both no-ops if argument is NULL */