diff --git a/src/utils.c b/src/utils.c index d243003f..87107aa3 100644 --- a/src/utils.c +++ b/src/utils.c @@ -546,6 +546,7 @@ get_default_conf(void) return userconf; // If not, fall back to the system-wide config. + free(userconf); return sysconf; #else return "config.json";