diff options
| author | grunfink <grunfink@comam.es> | 2025-05-22 11:18:48 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-05-22 11:18:48 +0200 |
| commit | 56816b305155fee2154c7991ba9be8c0e7671307 (patch) | |
| tree | 48e09b5fd7ae62f75f7bb4e6de7d00f9e374047f /mastoapi.c | |
| parent | 096bb217105202ce6ec5bad046fd70cc3e3508cd (diff) | |
Minor memory leak fixes.
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1638,7 +1638,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, const char *aq = xs_dict_get(args, "q"); if (!xs_is_null(aq)) { - xs *q = xs_utf8_to_lower(xs_dup(aq)); + xs *q = xs_utf8_to_lower(aq); out = xs_list_new(); xs *wing = following_list(&snac1); xs *wers = follower_list(&snac1); |