Gproject: fix memory leak due to mismatching deallocator