fix leak.

2001-11-16  Michael Meeks  <michael@ximian.com>

	* gmodule.c (parse_libtool_archive): fix leak.
This commit is contained in:
Michael Meeks 2001-11-18 22:26:39 +00:00 committed by Michael Meeks
parent dbc004bc12
commit e3750c7c90
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-11-16 Michael Meeks <michael@ximian.com>
* gmodule.c (parse_libtool_archive): fix leak.
2001-10-30 Dan Winship <danw@ximian.com>
* Makefile.am (EXTRA_DIST): Add gmodule-dyld.c

View File

@ -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);