forked from AuroraMiddleware/gtk
don't free the module name until after we load the module
2001-11-04 jacob berkman <jacob@ximian.com> * gtk/gtkmain.c (find_module): don't free the module name until after we load the module
This commit is contained in:
parent
ee0ebf46ab
commit
bc5849a5e0
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-04 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (find_module): don't free the module name until
|
||||||
|
after we load the module
|
||||||
|
|
||||||
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-04 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (find_module): don't free the module name until
|
||||||
|
after we load the module
|
||||||
|
|
||||||
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-04 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (find_module): don't free the module name until
|
||||||
|
after we load the module
|
||||||
|
|
||||||
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-04 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (find_module): don't free the module name until
|
||||||
|
after we load the module
|
||||||
|
|
||||||
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-04 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (find_module): don't free the module name until
|
||||||
|
after we load the module
|
||||||
|
|
||||||
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-04 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (find_module): don't free the module name until
|
||||||
|
after we load the module
|
||||||
|
|
||||||
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-04 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (find_module): don't free the module name until
|
||||||
|
after we load the module
|
||||||
|
|
||||||
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
* gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
|
||||||
|
@ -327,8 +327,9 @@ find_module (gchar **module_path,
|
|||||||
|
|
||||||
if (g_file_test (module_name, G_FILE_TEST_EXISTS))
|
if (g_file_test (module_name, G_FILE_TEST_EXISTS))
|
||||||
{
|
{
|
||||||
|
module = g_module_open (module_name, G_MODULE_BIND_LAZY);
|
||||||
g_free (module_name);
|
g_free (module_name);
|
||||||
return g_module_open (module_name, G_MODULE_BIND_LAZY);
|
return module;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_free (module_name);
|
g_free (module_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user