diff options
| author | grunfink <grunfink@comam.es> | 2025-12-18 08:54:21 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-12-18 08:54:21 +0100 |
| commit | 219f3e6808bdcf8a03cce404caa5cb6a008d00c5 (patch) | |
| tree | 85a417c87c274f1d5b853f5c56692a82a7375891 /html.c | |
| parent | fd45b94c09233221d7b98a7270c768272bd25ac9 (diff) | |
Fixed leak in emoji_reacted().
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2107,14 +2107,15 @@ xs_html *html_entry_controls(snac *user, const char *actor, /* the post textarea */ xs *div_id = xs_fmt("%s_reply", md5); xs *form_id = xs_fmt("%s_reply_form", md5); + xs *e_react = emoji_reacted(user, id); xs_html_add(controls, xs_html_tag("div", xs_html_tag("p", NULL), html_emoji( - user, L("Emoji react"), + user, L("Emoji react..."), div_id, form_id, ":neocat:", id, - emoji_reacted(user, id))), + e_react)), xs_html_tag("p", NULL)); } |