mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-05 21:38:01 +02:00
2002-09-19 Anders Carlsson <andersca@gnu.org>
Author: andersca Date: 2002-09-19 14:23:55 GMT 2002-09-19 Anders Carlsson <andersca@gnu.org> * pkg.c: (verify_package): Don't call g_free on strings returned from g_getenv.
This commit is contained in:
parent
56221beea3
commit
e913db3d5b
2 changed files with 5 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2002-09-19 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* pkg.c: (verify_package):
|
||||
Don't call g_free on strings returned from g_getenv.
|
||||
|
||||
Tue Sep 17 14:11:51 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* pkg.c: strip out C_INCLUDE_PATH and CPLUS_INCLUDE_PATH if they
|
||||
|
|
|
|||
2
pkg.c
2
pkg.c
|
|
@ -785,14 +785,12 @@ verify_package (Package *pkg)
|
|||
if (c_include_path != NULL)
|
||||
{
|
||||
system_directories = add_env_variable_to_list (system_directories, c_include_path);
|
||||
g_free (c_include_path);
|
||||
}
|
||||
|
||||
c_include_path = g_getenv ("CPLUS_INCLUDE_PATH");
|
||||
if (c_include_path != NULL)
|
||||
{
|
||||
system_directories = add_env_variable_to_list (system_directories, c_include_path);
|
||||
g_free (c_include_path);
|
||||
}
|
||||
|
||||
count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue