Hello,

Sorry if the answer is obvious but...

Looking at example1.c:
  https://github.com/dajobe/librdf/blob/master/examples/example1.c
Line 104, a new statement is created from nodes.
Line 111, the statement is freed.

I wonder if freeing the statement also frees the nodes.
In fact, I wonder if there is a kind of recursive free through all
structures.

Context: I just began an OCaml binding to librdf and I'm trying to play
well with the garbage collector.

Regards,

-- 
Maxence Guesdon

_______________________________________________
redland-dev mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-dev

Reply via email to