config: config_free(): pass conf struct by pointer, not by-value

This commit is contained in:
Daniel Eklöf 2022-04-12 13:01:56 +02:00
parent 06d7432af3
commit 99db7aa7cf
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 49 additions and 49 deletions

View file

@ -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);