# some of the work in (zif_)ifx_free_result should
# probably be done in the list destructor as well
IFXG(num_links)--;
}
-static void ifx_free_result(a_result_id)
-char *a_result_id;
+static void ifx_free_result(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
- return;
+ IFX_RES *Ifx_Result = (IFX_RES *)rsrc->ptr;
+ efree(Ifx_Result);
}
PHP_INI_BEGIN()
}
EXEC SQL DEALLOCATE DESCRIPTOR :descrpid;
- efree(Ifx_Result); /* this can be safely done now */
zend_list_delete(Z_RESVAL_PP(result));
RETURN_TRUE;