diff --git a/vm/data_heap.cpp b/vm/data_heap.cpp index 43fbd930f1..c9d9ef0854 100755 --- a/vm/data_heap.cpp +++ b/vm/data_heap.cpp @@ -166,6 +166,8 @@ the GC. Some types have a binary payload at the end (string, word, DLL) which we ignore. */ cell object::binary_payload_start() const { + if(free_p()) return 0; + switch(type()) { /* these objects do not refer to other objects at all */