On 11/9/05, Marco Bambini <[EMAIL PROTECTED]> wrote:
> ZEND_FUNCTION(rsql_disconnect)
> {
>         ...
>         ZEND_FETCH_RESOURCE2(rsqldb, void*, theConnectionParameter, -1,
> kConnIDString, rsql_connection, rsql_pconnection);
>         if (rsqldb) zend_list_delete(Z_LVAL_PP(theConnectionParameter));
>         if (rsqldb) myCustomFree(rsqldb);

Removing the call to myCustomFree should solve your problem; the list
destructor is calling it once for you, and you're then trying to free
somthing that is no longer valid.

--Wez

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to