diff --git a/block_to_imp.c b/block_to_imp.c index e6c771f..1ad3211 100644 --- a/block_to_imp.c +++ b/block_to_imp.c @@ -149,6 +149,7 @@ IMP imp_implementationWithBlock(void *block) // If we don't have a trampoline intrinsic for this architecture, return a // null IMP. if (0 >= trampolineSize) { return 0; } + block = Block_copy(block); // Allocate some trampolines if this is the first time that we need to do this. if (*setptr == NULL) {