commit 2364d960b756f3018f2b4a98f1b71aaada60c033
parent 01743cee551f84c81db00714a59d6897418ba06a
Author: default <nobody@localhost>
Date: Mon, 7 Nov 2022 19:37:05 +0100
Fixed memory leak.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;