diff --git a/configuration.c b/configuration.c index b98fd08d47..a03257b708 100644 --- a/configuration.c +++ b/configuration.c @@ -3767,8 +3767,7 @@ bool config_save_autoconf_profile(const char *path, unsigned user) error: free(buf); free(autoconf_file); - if (path_new) - free(path_new); + free(path_new); return false; }