diff options
| author | 2025-01-20 23:03:27 +0100 | |
|---|---|---|
| committer | 2025-01-20 23:03:27 +0100 | |
| commit | 13e4a7cda59db29063efc5dad0823fe99ec7b764 (patch) | |
| tree | cb0f479b4f1a778f807147c5c8b73fcf2081ec15 /activitypub.c | |
| parent | add port parsing for sandboxing (diff) | |
| download | penes-snac2-13e4a7cda59db29063efc5dad0823fe99ec7b764.tar.gz penes-snac2-13e4a7cda59db29063efc5dad0823fe99ec7b764.tar.xz penes-snac2-13e4a7cda59db29063efc5dad0823fe99ec7b764.zip | |
fix memory leak
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index e5fc715..2b10435 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -970,7 +970,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor, | |||
| 970 | "\n", | 970 | "\n", |
| 971 | from, email, subject); | 971 | from, email, subject); |
| 972 | 972 | ||
| 973 | xs_dict *mailinfo = xs_dict_new(); | 973 | xs *mailinfo = xs_dict_new(); |
| 974 | xs_dict_append(mailinfo, "from", from); | 974 | xs_dict_append(mailinfo, "from", from); |
| 975 | xs_dict_append(mailinfo, "to", email); | 975 | xs_dict_append(mailinfo, "to", email); |
| 976 | xs_dict_append(mailinfo, "body", xs_fmt("%s%s", header, body)); | 976 | xs_dict_append(mailinfo, "body", xs_fmt("%s%s", header, body)); |