summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--runtime/lfmalloc/src/lfinternal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lfmalloc/src/lfinternal.c b/runtime/lfmalloc/src/lfinternal.c
index 6626c5c..625ecad 100644
--- a/runtime/lfmalloc/src/lfinternal.c
+++ b/runtime/lfmalloc/src/lfinternal.c
@@ -395,8 +395,9 @@ void __lf_error(void *ptr, void* base, unsigned long size, unsigned int reason,
s_reason, ptr, base, size);
}
+#ifdef INT_ON_ERROR
raise(SIGINT);
-
+#endif
#ifdef ABORT_ON_ERROR
abort();
#endif