diff options
| author | grunfink <grunfink@comam.es> | 2025-12-18 08:58:04 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-12-18 08:58:04 +0100 |
| commit | 2903b29e653d8549319ceabbb65de408d2e5c073 (patch) | |
| tree | 7d0ea2dd129512183840683d2ff135ff68b04790 /html.c | |
| parent | 219f3e6808bdcf8a03cce404caa5cb6a008d00c5 (diff) | |
Fixed more minor leaks.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2454,8 +2454,8 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, xs *sfrl = xs_dict_new(); xs *rl = object_get_emoji_reacts(id); - xs_dict *m = NULL; while (xs_list_next(rl, &v, &c)) { + xs *m = NULL; if (valid_status(object_get_by_md5(v, &m))) { const char *content = xs_dict_get(m, "content"); const char *actor = xs_dict_get(m, "actor"); @@ -2490,6 +2490,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, c = 0; while (xs_list_next(rl, &k, &c)) { + xs *m = NULL; if (valid_status(object_get_by_md5(k, &m))) { const xs_dict *tag = xs_dict_get(m, "tag"); const xs_dict *ide = xs_dict_get(m, "id"); |