Fixed #5030 (Segmentation fault below CheckMemoryLeakStructMember::isMalloc())