diff options
| author | grunfink <grunfink@noreply.codeberg.org> | 2026-03-20 08:44:59 +0100 |
|---|---|---|
| committer | grunfink <grunfink@noreply.codeberg.org> | 2026-03-20 08:44:59 +0100 |
| commit | 82b56317fc1261849c2aed816a1f491a43600b55 (patch) | |
| tree | c38a90ac916a37da4f5e0b84e561b42259bb4a80 | |
| parent | 8b2c601012c51a1521869606aa8c6c04e7423526 (diff) | |
| parent | 66e938bf0c02d4a743f006159f9cd740fcdfbbe3 (diff) | |
Merge pull request 'Fixed another small leak' (#589) from dandelions/snac2:pr-leak-mastoapi-2 into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/589
| -rw-r--r-- | mastoapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |