From fd45b94c09233221d7b98a7270c768272bd25ac9 Mon Sep 17 00:00:00 2001 From: grunfink Date: Thu, 18 Dec 2025 08:41:28 +0100 Subject: Fixed leak in timeline_admire(). --- snac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'snac.h') diff --git a/snac.h b/snac.h index 3d98aac..23f363c 100644 --- a/snac.h +++ b/snac.h @@ -183,8 +183,8 @@ xs_str *user_index_fn(snac *user, const char *idx_name); xs_list *timeline_simple_list(snac *user, const char *idx_name, int skip, int show, int *more); xs_list *timeline_list(snac *snac, const char *idx_name, int skip, int show, int *more); int timeline_add(snac *snac, const char *id, const xs_dict *o_msg); -int timeline_admire(snac *snac, const char *id, const char *admirer, int like, xs_dict *msg); -int timeline_emoji_react(const char *atto, const char *id, xs_dict *o_msg); +int timeline_admire(snac *snac, const char *id, const char *admirer, int like, const xs_dict *msg); +int timeline_emoji_react(const char *atto, const char *id, const xs_dict *o_msg); xs_list *timeline_top_level(snac *snac, const xs_list *list); void timeline_add_mark(snac *user); -- cgit