Added changes to mm_free for binary indexes