summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corealloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/corealloc.c')
-rw-r--r--src/lib/util/corealloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util/corealloc.c b/src/lib/util/corealloc.c
index c8a23b73f27..a251aaa9913 100644
--- a/src/lib/util/corealloc.c
+++ b/src/lib/util/corealloc.c
@@ -154,8 +154,10 @@ void free_file_line(void *memory, const char *file, int line, bool array)
}
if (array && !entry->m_array)
{
+#ifndef __INTEL_COMPILER // todo: fix this properly, it appears some optimization the compiler applies breaks our logic here
fprintf(stderr, "Error: attempt to free single object %p with global_free_array in %s(%d)!\n", memory, file, line);
osd_break_into_debugger("Error: attempt to free single object with global_free_array");
+#endif
}
#ifdef OVERWRITE_FREED_MEMORY