mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-27 19:23:40 +00:00
Fix a tiny memory leak
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user