summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TSRM/TSRM.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c
index a47cfacfad..112d3cf5c4 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);
}