Fixed segmentation faults in NEW and FREE managed instructions