diff options
author | Thomas White <taw@physics.org> | 2023-07-27 13:35:47 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-07-27 13:43:15 +0200 |
commit | bd215c1b3ee2a509c37c5fb2b81191c02c45b4b0 (patch) | |
tree | 1b3c9105833b922d5c794d728589e2d944449252 /src | |
parent | e1001a658eb3b4328ddf086ef1d4f68b562ceb85 (diff) |
Fix some more memory leaks
Diffstat (limited to 'src')
-rw-r--r-- | src/im-sandbox.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index c642988f..a91c6a87 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -286,6 +286,8 @@ static int get_pattern(struct get_pattern_ctx *gpctx, if ( evstr != NULL ) { *pfilename = filename; *pevent = evstr; + free(gpctx->filename); + gpctx->filename = filename; return 1; } |