mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-16 05:48:09 +02:00
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:
parent
4a431629c2
commit
77d6ced01e
2 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
5
parse.c
5
parse.c
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue