Move cleanup functions to the right place

This commit is contained in:
bapt 2015-05-31 12:04:06 +00:00
parent b8a0027b6d
commit 7b87a7e6ff

View File

@ -357,9 +357,10 @@ read_userconfig(char const * file)
break;
}
}
free(buf);
fclose(fp);
}
free(buf);
fclose(fp);
return (&config);
}