mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Fixed memory leak.
This commit is contained in:
parent
01743cee55
commit
2364d960b7
1 changed files with 1 additions and 1 deletions
|
@ -656,7 +656,7 @@ void notify(snac *snac, char *type, char *utype, char *actor, char *msg)
|
||||||
|
|
||||||
if (strcmp(type, "Create") == 0) {
|
if (strcmp(type, "Create") == 0) {
|
||||||
/* only notify of notes specifically for us */
|
/* 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)
|
if (xs_list_in(rcpts, snac->actor) == -1)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue