index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-03-20 20:11:11 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-20 20:11:11 -0500 |
commit | 78e55be0e6e51fe34e51544070c69cb6634b7eff (patch) | |
tree | 65dfa47cfade440cf0e7748cdfd7d87b1e55f116 /src | |
parent | 32e35d4028f30db5fc7cf96478015be293e4d123 (diff) |
-rw-r--r-- | src/pacman/pacman.c | 4 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 55f99a66..591b2a00 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -1230,9 +1230,7 @@ static int _parseconfig(const char *file, const char *givensection, } cleanup: - if(fp) { - fclose(fp); - } + fclose(fp); if(section){ free(section); } |