From 66e938bf0c02d4a743f006159f9cd740fcdfbbe3 Mon Sep 17 00:00:00 2001 From: green Date: Thu, 19 Mar 2026 23:04:50 +0100 Subject: fix: another small leak in mastoapi --- mastoapi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mastoapi.c') diff --git a/mastoapi.c b/mastoapi.c index f284e91..f199d32 100644 --- a/mastoapi.c +++ b/mastoapi.c @@ -3205,6 +3205,7 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path, /* Ice Cubes sends these values as query parameters, so try these */ if (name == NULL && ruri == NULL && scope == NULL) { + xs_free(args); args = xs_dup(xs_dict_get(req, "q_vars")); name = xs_dict_get(args, "client_name"); ruri = xs_dict_get(args, "redirect_uris"); -- cgit