Freeing memory in GLIB

Hi every body.
I'm using GLIB, to manage trees (N-ary trees). The
main problem is to free that memory. I tried using
g_node_destroy (tree) with all the tree but it returns
me a tree with data (exactly in the "next" field,
which was free at the begining); for this reason, the
memory allocated by my program is increasing more and
more. Am I doing something wrong?
    Thank you.
       Miguel Angel Garcia.

Do You Yahoo!?
Yahoo! Messenger
Comunicación instantánea gratis con tu gente.

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