snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 13e4a7cda59db29063efc5dad0823fe99ec7b764
parent 4c1a2d24d374d00c656c4489db7d28f80d64f9dc
Author: shtrophic <christoph@liebender.dev>
Date:   Mon, 20 Jan 2025 23:03:27 +0100

fix memory leak

Diffstat:
Mactivitypub.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/activitypub.c b/activitypub.c @@ -970,7 +970,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor, "\n", from, email, subject); - xs_dict *mailinfo = xs_dict_new(); + xs *mailinfo = xs_dict_new(); xs_dict_append(mailinfo, "from", from); xs_dict_append(mailinfo, "to", email); xs_dict_append(mailinfo, "body", xs_fmt("%s%s", header, body));