diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2012-05-29 17:15:34 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2012-05-29 17:17:55 -0700 |
commit | 5345892b8e20ce8bc5bdbea2f76f3f6ec5ef283b (patch) | |
tree | 7335d815c398e8d6365d73ef07a8c16b9ecb688e | |
parent | fd77d7690bf41659a4d66fd54b5eb76ca02aafb5 (diff) |
Always use g_free when allocating memory from glib
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -183,9 +183,9 @@ init_pc_path (void) shpath = g_build_filename (instdir, "share", "pkgconfig", NULL); pkg_config_pc_path = g_strconcat (lpath, G_SEARCHPATH_SEPARATOR_S, shpath, NULL); - free (instdir); - free (lpath); - free (shpath); + g_free (instdir); + g_free (lpath); + g_free (shpath); #else pkg_config_pc_path = PKG_CONFIG_PC_PATH; #endif |