GNOME Bugzilla – Bug 597331
Uninitialized destroy_notify function
Last modified: 2010-03-22 21:30:01 UTC
Hello, When I create a delegate function, the destroy_notify function is not set to NULL: delegate void Foo (); void main () { Foo foo; } The C code: ... GDestroyNotify foo_target_destroy_notify; void* foo_target = NULL; Foo foo = NULL; (foo_target_destroy_notify == NULL) ? NULL : foo_target_destroy_notify (foo_target); ...
what if you create a static delegate? or Foo foo = null?
> Foo foo = null Simply... Thank's :)
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade. *** This bug has been marked as a duplicate of bug 607902 ***