{
event->ref_count--;
if (event->ref_count < 1)
- cspi_internal_event_remove (event);
+ {
+ cspi_internal_event_remove (event);
+ g_free ((gpointer)e->type);
+ Accessible_unref (e->source);
+ CORBA_free (event->data);
+ g_free ((gpointer)e);
+ }
}
}
}