aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/error.c b/src/error.c
index 7c4e151..45428df 100644
--- a/src/error.c
+++ b/src/error.c
@@ -161,10 +161,7 @@ teco_error_add_frame_toplevel(void)
teco_error_add_frame(TECO_FRAME_TOPLEVEL, 0);
}
-#ifndef NDEBUG
-__attribute__((destructor))
-#endif
-void
+void TECO_DEBUG_CLEANUP
teco_error_clear_frames(void)
{
teco_stailq_entry_t *entry;