Fixed bug in PHPG_Cursor->free()