From e913db3d5b0c6c74637ae96b16b0386f08d7884c Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Thu, 14 Jul 2005 13:05:23 +0000 Subject: [PATCH] 2002-09-19 Anders Carlsson Author: andersca Date: 2002-09-19 14:23:55 GMT 2002-09-19 Anders Carlsson * pkg.c: (verify_package): Don't call g_free on strings returned from g_getenv. --- ChangeLog | 5 +++++ pkg.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e655e5..9d6113a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-09-19 Anders Carlsson + + * pkg.c: (verify_package): + Don't call g_free on strings returned from g_getenv. + Tue Sep 17 14:11:51 2002 Jonathan Blandford * pkg.c: strip out C_INCLUDE_PATH and CPLUS_INCLUDE_PATH if they 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; -- 2.39.5