From e3750c7c90a885735a4a4e64d1fb707548026255 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Sun, 18 Nov 2001 22:26:39 +0000 Subject: [PATCH] fix leak. 2001-11-16 Michael Meeks * gmodule.c (parse_libtool_archive): fix leak. --- gmodule/ChangeLog | 4 ++++ gmodule/gmodule.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index 8d94e66..20d8fa2 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 62f7b8f..25bf18a 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); -- 2.7.4