Move cleanup functions to the right place
This commit is contained in:
parent
b8a0027b6d
commit
7b87a7e6ff
@ -357,9 +357,10 @@ read_userconfig(char const * file)
|
||||
break;
|
||||
}
|
||||
}
|
||||
free(buf);
|
||||
fclose(fp);
|
||||
}
|
||||
free(buf);
|
||||
fclose(fp);
|
||||
|
||||
return (&config);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user