summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-12-14 15:41:50 (GMT)
committerMarcus Boerger <helly@php.net>2003-12-14 15:41:50 (GMT)
commitc1e905dfc12e88597b12cfbe7994a2324656e698 (patch)
tree913221f1d0d3b29ce51c0e799f1e9fe53321b62e /TSRM
parentcb0fe5786e826d27cb63ef4fe9cf993025476876 (diff)
downloadphp-c1e905dfc12e88597b12cfbe7994a2324656e698.tar.gz
Removed doubled loop from wrongly applied patch
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/TSRM.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c
index a47cfac..112d3cf 100644
--- a/TSRM/TSRM.c
+++ b/TSRM/TSRM.c
@@ -158,11 +158,6 @@ TSRM_API void tsrm_shutdown(void)
next_p = p->next;
for (j=0; j<p->count; j++) {
- if (resource_types_table[j].dtor) {
- resource_types_table[j].dtor(p->storage[j], &p->storage);
- }
- }
- for (j=0; j<p->count; j++) {
if (resource_types_table && resource_types_table[j].dtor) {
resource_types_table[j].dtor(p->storage[j], &p->storage);
}