/******************************************************* * Deallocates the widget node only */ static void ssd_widget_free_node( SsdWidget widget ) { /* * Release the widget itself */ if ( widget->release ) { widget->release( widget ); } free( (char*) widget->name ); free( widget ); }
/******************************************************* * Deallocates the widget node only */ static void ssd_widget_free_node( SsdWidget widget ) { /* * Release the widget itself */ if ( widget->release ) { widget->release( widget ); } //int hash = roadmap_hash_string (widget->name); //int index = roadmap_hash_get_first (widget_cache, hash); //roadmap_hash_remove(widget_cache, hash, index); free( (char*) widget->name ); free( widget ); }