From de93f4460263c6d515abd421b6f83a763d1e3c65 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 14 Aug 2023 08:26:20 -0700 Subject: modules/rkt: free rkt_context_t.scenes in rkt_destroy_context() Another trivial leak fixup --- src/modules/rkt/rkt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules') 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); } -- cgit v1.2.3