diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-08-13 23:30:21 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-08-13 23:30:21 -0700 |
commit | bcfe4d6daf020c9c68c6755a4ae7c25b74625d9c (patch) | |
tree | 0bb995d0fd730ebddbf12a62fcd188fd955e3e61 /src | |
parent | 118404d46165f92d74ac2ee47eddfa4e8fa3c87f (diff) |
modules/shapes: plug context leak
b6362c54 introduced shapes_destroy_context() for the radcache,
but didn't actually cleanup the context, oops.
trivial fix
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/shapes/shapes.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |