Fixed memory leak.

This commit is contained in:
default 2022-11-07 19:37:05 +01:00
parent 01743cee55
commit 2364d960b7

View File

@ -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;