From bcfe4d6daf020c9c68c6755a4ae7c25b74625d9c Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 13 Aug 2023 23:30:21 -0700 Subject: modules/shapes: plug context leak b6362c54 introduced shapes_destroy_context() for the radcache, but didn't actually cleanup the context, oops. trivial fix --- src/modules/shapes/shapes.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/modules/shapes/shapes.c b/src/modules/shapes/shapes.c index a1a56f7..0b512dd 100644 --- a/src/modules/shapes/shapes.c +++ b/src/modules/shapes/shapes.c @@ -197,6 +197,7 @@ static void shapes_destroy_context(til_module_context_t *context) shapes_context_t *ctxt = (shapes_context_t *)context; shapes_radcache_unref(ctxt->radcache); + free(ctxt); } -- cgit v1.2.1