Forgot to include gp_xxx_free() calls.