Gproject: fix memory leak due to mismatching deallocator
Merge PR#137 from scriptum/gproject-memleak1