destroying GTypeModule object?



Is it ever safe to destroy a GTypeModule object after it is created and load() runs (to initialize/register the plugin types?). The g_type_module_unuse() documentation
states:

"Once a GTypeModule <http://developer.gnome.org/doc/API/2.0/gobject/GTypeModule.html> is initialized, it must exist forever."

What I am doing is keeping a GList of these objects. I would like to free them
and the containing list in my exit() code because it's an obvious leak.

Phil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]