diff options
| author | 2026-03-17 17:18:11 +0100 | |
|---|---|---|
| committer | 2026-03-17 17:27:18 +0100 | |
| commit | f13ff9086d727f439de80553afcc208f35a83b19 (patch) | |
| tree | 6c09e3891663268b4ed60ed2040c4f87905a65d0 /html.c | |
| parent | fix: memory errors in byte's notification filter (diff) | |
| download | snac2-f13ff9086d727f439de80553afcc208f35a83b19.tar.gz snac2-f13ff9086d727f439de80553afcc208f35a83b19.tar.xz snac2-f13ff9086d727f439de80553afcc208f35a83b19.zip | |
fix: more memory leaks
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -5572,7 +5572,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, | |||
| 5572 | 5572 | ||
| 5573 | eid = xs_strip_chars_i(eid, ":"); | 5573 | eid = xs_strip_chars_i(eid, ":"); |
| 5574 | 5574 | ||
| 5575 | const xs_dict *ret = msg_emoji_init(&snac, id, eid); | 5575 | xs *ret = msg_emoji_init(&snac, id, eid); |
| 5576 | /* fails if either invalid or already reacted */ | 5576 | /* fails if either invalid or already reacted */ |
| 5577 | if (!ret) | 5577 | if (!ret) |
| 5578 | ret = msg_emoji_unreact(&snac, id, eid); | 5578 | ret = msg_emoji_unreact(&snac, id, eid); |