cvs: TSRM / TSRM.c

From: Date: Tue, 07 Jan 2003 10:33:23 +0000
Subject: cvs: TSRM / TSRM.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-758@lists.php.net to get a copy of this message
zeev Tue Jan 7 05:33:23 2003 EDT Modified files: /TSRM TSRM.c Log: call dtors on shutdown Index: TSRM/TSRM.c diff -u TSRM/TSRM.c:1.48 TSRM/TSRM.c:1.49 --- TSRM/TSRM.c:1.48 Thu Jan 2 09:29:00 2003 +++ TSRM/TSRM.c Tue Jan 7 05:33:22 2003 @@ -158,6 +158,9 @@ next_p = p->next; for (j=0; j<id_count; j++) { + if (resource_types_table && resource_types_table[j].dtor) { + resource_types_table[j].dtor(p->storage[j], &p->storage); + } free(p->storage[j]); } free(p->storage);

« previous php.zend-engine.cvs (#758) next »