From 99db7aa7cfe55c2485c31e9f0fefd459fc1c09f2 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 12 Apr 2022 13:01:56 +0200 Subject: config: config_free(): pass conf struct by pointer, not by-value --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index 79311c86..76768562 100644 --- a/config.h +++ b/config.h @@ -328,7 +328,7 @@ bool config_load( struct config *conf, const char *path, user_notifications_t *initial_user_notifications, config_override_t *overrides, bool errors_are_fatal); -void config_free(struct config conf); +void config_free(struct config *conf); struct config *config_clone(const struct config *old); bool config_font_parse(const char *pattern, struct config_font *font); -- cgit v1.3