From 2364d960b756f3018f2b4a98f1b71aaada60c033 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 7 Nov 2022 19:37:05 +0100 Subject: [PATCH] Fixed memory leak. --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.c b/activitypub.c index 9cede58..ccb21c8 100644 --- a/activitypub.c +++ b/activitypub.c @@ -656,7 +656,7 @@ void notify(snac *snac, char *type, char *utype, char *actor, char *msg) if (strcmp(type, "Create") == 0) { /* only notify of notes specifically for us */ - char *rcpts = recipient_list(snac, msg, 0); + xs *rcpts = recipient_list(snac, msg, 0); if (xs_list_in(rcpts, snac->actor) == -1) return;