I believe g_strndup should be followed by g_free. I tested that the code compiles and runs. But no real runtime testing was done.

_______________________________________________________________
Parfym och kosmetik upp till 50% billigare hos BeautyPlanet.se - Klicka h�r!