mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03:00
Fixed memory leak.
This commit is contained in:
parent
01743cee55
commit
2364d960b7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user