summaryrefslogtreecommitdiff
path: root/pkg.c
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-07-14 13:05:23 +0000
committerArch Librarian <arch@canonical.com>2005-07-14 13:05:23 +0000
commite913db3d5b0c6c74637ae96b16b0386f08d7884c (patch)
treef4de4a0eead233e4e15fa74c86d1611665164951 /pkg.c
parent56221beea3bdbd320c8792b1b17c2fe3bc29eb36 (diff)
downloadpkg-config-e913db3d5b0c6c74637ae96b16b0386f08d7884c.tar.gz
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.
Diffstat (limited to 'pkg.c')
-rw-r--r--pkg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg.c b/pkg.c
index 8e14543..8b57d5d 100644
--- a/pkg.c
+++ b/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;