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:
Arch Librarian 2005-07-14 13:05:23 +00:00
parent 56221beea3
commit e913db3d5b
2 changed files with 5 additions and 2 deletions

View file

@ -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
View file

@ -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;