diff options
| author | green <dandelions@disroot.org> | 2026-03-19 23:04:50 +0100 |
|---|---|---|
| committer | green <dandelions@disroot.org> | 2026-03-19 23:04:50 +0100 |
| commit | 66e938bf0c02d4a743f006159f9cd740fcdfbbe3 (patch) | |
| tree | c38a90ac916a37da4f5e0b84e561b42259bb4a80 /mastoapi.c | |
| parent | 8b2c601012c51a1521869606aa8c6c04e7423526 (diff) | |
fix: another small leak in mastoapi
Diffstat (limited to 'mastoapi.c')
| -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"); |