summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-11-07 19:37:05 +0100
committerGravatar default2022-11-07 19:37:05 +0100
commit2364d960b756f3018f2b4a98f1b71aaada60c033 (patch)
treea26d1c5c8dc90e61b1682345ee0d4bfd58bc7b77
parentMore tweaks to not_really_markdown() to avoid ambiguities. (diff)
downloadsnac2-2364d960b756f3018f2b4a98f1b71aaada60c033.tar.gz
snac2-2364d960b756f3018f2b4a98f1b71aaada60c033.tar.xz
snac2-2364d960b756f3018f2b4a98f1b71aaada60c033.zip
Fixed memory leak.
-rw-r--r--activitypub.c2
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)
656 656
657 if (strcmp(type, "Create") == 0) { 657 if (strcmp(type, "Create") == 0) {
658 /* only notify of notes specifically for us */ 658 /* only notify of notes specifically for us */
659 char *rcpts = recipient_list(snac, msg, 0); 659 xs *rcpts = recipient_list(snac, msg, 0);
660 660
661 if (xs_list_in(rcpts, snac->actor) == -1) 661 if (xs_list_in(rcpts, snac->actor) == -1)
662 return; 662 return;