13 Nov
2009
13 Nov
'09
1:15 a.m.
On Fri, Nov 13, 2009 at 12:59 AM, Laszlo Papp <djszapi2@gmail.com> wrote:
* It makes the code clearer to read/understand * Cppcheck tool doesn't show this anymore: [./util.c:215]: (error) Resource leak: fd --- lib/libalpm/trans.c | 5 ++++- lib/libalpm/util.c | 11 +++++++---- src/pacman/pacman.c | 4 +++- 3 files changed, 14 insertions(+), 6 deletions(-)
The 6th iteration of this trivial patch looks good to me. Thanks for your hard work :)