From a2aa784db35ca08cc5a7e65de1831cd53fb52346 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 26 Feb 2024 01:40:46 +0000 Subject: slbt_get_lconf_flags(): cache the configuration in library friendly form. --- src/driver/slbt_driver_ctx.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/driver') diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index a94b352..b3fe43a 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -1001,6 +1001,9 @@ static void slbt_lib_free_driver_ctx_impl(struct slbt_driver_ctx_alloc * ictx) ictx->ctx.lconf.addr, ictx->ctx.lconf.size); + if (ictx->ctx.lconfctx) + slbt_lib_free_txtfile_ctx(ictx->ctx.lconfctx); + for (objlistp=ictx->ctx.objlistv; objlistp->name; objlistp++) { free(objlistp->objv); free(objlistp->addr); -- cgit v1.2.3