2005-02-21 Tollef Fog Heen <tfheen@err.no>

Author: tfheen
Date: 2005-02-21 08:09:28 GMT
2005-02-21  Tollef Fog Heen  <tfheen@err.no>

	* parse.c (parse_package_file): Stop leaking file descriptors.
	(Freedesktop #1006)
This commit is contained in:
Arch Librarian 2005-07-14 13:06:15 +00:00
parent 4a431629c2
commit 77d6ced01e
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-02-21 Tollef Fog Heen <tfheen@err.no>
* parse.c (parse_package_file): Stop leaking file descriptors.
(Freedesktop #1006)
2005-02-21 Tollef Fog Heen <tfheen@err.no>
* pkg-config.1: Get rid of groff warnings when formatting

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2001, 2002 Red Hat Inc.
* Copyright (C) 2001, 2002, 2005 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@ -970,7 +970,8 @@ parse_package_file (const char *path)
if (!one_line)
verbose_error ("Package file '%s' appears to be empty\n",
path);
fclose(f);
return pkg;
}