mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 13:53:30 +02:00
Clarify docs on the return. Fix a memory leak if a type with a value table
Mon Aug 25 14:16:48 2003 Owen Taylor <otaylor@redhat.com> * gtypemodule.c (g_type_module_register_type): Clarify docs on the return. Fix a memory leak if a type with a value table is reloaded.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
Mon Aug 25 14:16:48 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtypemodule.c (g_type_module_register_type): Clarify
|
||||
docs on the return. Fix a memory leak if a type with a
|
||||
value table is reloaded.
|
||||
|
||||
Tue Aug 19 05:21:04 2003 Tim Janik <timj@gtk.org>
|
||||
|
||||
* testgobject.c (main): check private instance data after
|
||||
|
@@ -316,6 +316,9 @@ g_type_module_register_type (GTypeModule *module,
|
||||
parent_type_name ? parent_type_name : "(unknown)");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (module_type_info->info.value_table)
|
||||
g_free (odule_type_info->info.value_table);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user