summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-14 08:26:20 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-14 08:44:18 -0700
commitde93f4460263c6d515abd421b6f83a763d1e3c65 (patch)
tree05f4eb9992eb28a3a4dc1c42ccfbfbef736e3229 /src
parent7231e59fecf19de0077f8eae3baed952155fa62b (diff)
modules/rkt: free rkt_context_t.scenes in rkt_destroy_context()
Another trivial leak fixup
Diffstat (limited to 'src')
-rw-r--r--src/modules/rkt/rkt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/rkt/rkt.c b/src/modules/rkt/rkt.c
index 3a48606..43f68c8 100644
--- a/src/modules/rkt/rkt.c
+++ b/src/modules/rkt/rkt.c
@@ -307,6 +307,7 @@ static void rkt_destroy_context(til_module_context_t *context)
for (size_t i = 0; i < ctxt->n_scenes; i++)
til_module_context_free(ctxt->scenes[i].module_ctxt);
+ free(ctxt->scenes);
free(context);
}
© All Rights Reserved