aboutsummaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index c46a971..9875b12 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -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);