summaryrefslogtreecommitdiff
path: root/gmodule/gmodule.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@ximian.com>2001-11-18 22:26:39 +0000
committerMichael Meeks <michael@src.gnome.org>2001-11-18 22:26:39 +0000
commite3750c7c90a885735a4a4e64d1fb707548026255 (patch)
tree0f7c144fa990616b2c2be74604a1e0a9f40c5dfd /gmodule/gmodule.c
parentdbc004bc126258455d66170e8518f8d623b0067c (diff)
fix leak.
2001-11-16 Michael Meeks <michael@ximian.com> * gmodule.c (parse_libtool_archive): fix leak.
Diffstat (limited to 'gmodule/gmodule.c')
-rw-r--r--gmodule/gmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index 62f7b8f0a..25bf18aa3 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -263,6 +263,7 @@ parse_libtool_archive (const gchar* libtool_name)
gchar *dir = g_path_get_dirname (libtool_name);
g_free (lt_libdir);
lt_libdir = g_strconcat (dir, G_DIR_SEPARATOR_S ".libs", NULL);
+ g_free (dir);
}
name = g_strconcat (lt_libdir, G_DIR_SEPARATOR_S, lt_dlname, NULL);