From: Michael Meeks Date: Sun, 18 Nov 2001 22:26:39 +0000 (+0000) Subject: fix leak. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=e3750c7c90a885735a4a4e64d1fb707548026255;p=dana%2Fcg-glib.git fix leak. 2001-11-16 Michael Meeks * gmodule.c (parse_libtool_archive): fix leak. --- diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index 8d94e662..20d8fa2e 100644 --- a/gmodule/ChangeLog +++ b/gmodule/ChangeLog @@ -1,3 +1,7 @@ +2001-11-16 Michael Meeks + + * gmodule.c (parse_libtool_archive): fix leak. + 2001-10-30 Dan Winship * Makefile.am (EXTRA_DIST): Add gmodule-dyld.c diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c index 62f7b8f0..25bf18aa 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);