"Michal Burda" <[EMAIL PROTECTED]> writes:
>
> in file grel.c, function g_relation_select():
>
> ...
> GRealTuples *tuples = g_new0(GRealTuples, 1);
> ...
> g_return_val_if_fail(relation != NULL, NULL);
> ...
>
> what if relation will really be NULL! Some memory allocated
> before (tuples) will lost, isn't it!
>
Yes, state is not guaranteed to be correct after a g_return_if_fail()
- g_return_if_fail() means "your program is broken, we are kindly
warning you about it, but the error is unrecoverable."
Havoc
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list