diff options
| author | 2022-11-07 19:37:05 +0100 | |
|---|---|---|
| committer | 2022-11-07 19:37:05 +0100 | |
| commit | 2364d960b756f3018f2b4a98f1b71aaada60c033 (patch) | |
| tree | a26d1c5c8dc90e61b1682345ee0d4bfd58bc7b77 | |
| parent | More tweaks to not_really_markdown() to avoid ambiguities. (diff) | |
| download | penes-snac2-2364d960b756f3018f2b4a98f1b71aaada60c033.tar.gz penes-snac2-2364d960b756f3018f2b4a98f1b71aaada60c033.tar.xz penes-snac2-2364d960b756f3018f2b4a98f1b71aaada60c033.zip | |
Fixed memory leak.
| -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) | |||
| 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; |