GLib bug - GRelation



Hi,

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!

Bye Michal Burda



Objevujte Internet s http://www.centrum.cz
Založte si svuj mail na http://mail.centrum.cz




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