Browse Source

Fix a tiny memory leak

pull/2659/head
ideal 5 years ago
parent
commit
af722a4b92
1 changed files with 1 additions and 0 deletions
  1. 1
      src/utils.c

1
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";

Loading…
Cancel
Save