We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b60a5a commit 3548d8dCopy full SHA for 3548d8d
src/alloc.c
@@ -511,15 +511,15 @@ size_t mi_get_current_threadid(void) mi_attr_noexcept {
511
}
512
513
// Free a block passing the current thread id explicitly
514
-void mi_unsafe_free_with_threadid(void* p, size_t current_tid ) mi_attr_noexcept
+void mi_decl_noinline mi_unsafe_free_with_threadid(void* p, size_t current_tid ) mi_attr_noexcept
515
{
516
mi_assert(current_tid == _mi_thread_id());
517
_mi_free_with_threadid(p,current_tid);
518
519
520
521
// Free a block
522
-void mi_free(void* p) mi_attr_noexcept {
+void mi_decl_noinline mi_free(void* p) mi_attr_noexcept {
523
_mi_free_with_threadid(p, _mi_thread_id());
524
525
0 commit comments