diff options
author | default <nobody@localhost> | 2022-11-07 19:37:05 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-11-07 19:37:05 +0100 |
commit | 2364d960b756f3018f2b4a98f1b71aaada60c033 (patch) | |
tree | a26d1c5c8dc90e61b1682345ee0d4bfd58bc7b77 /activitypub.c | |
parent | 01743cee551f84c81db00714a59d6897418ba06a (diff) |
Fixed memory leak.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |