Remove useless test before free()
This commit is contained in:
parent
c69b42d00b
commit
2e6d97a407
@ -357,8 +357,7 @@ read_userconfig(char const * file)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (linecap > 0)
|
||||
free(buf);
|
||||
free(buf);
|
||||
fclose(fp);
|
||||
}
|
||||
return (&config);
|
||||
|
Loading…
Reference in New Issue
Block a user