Fix a tiny memory leak

This commit is contained in:
ideal
2020-03-15 01:21:51 +08:00
parent cafdd77b3d
commit af722a4b92
+1
View File
@@ -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";