corrected implementation of mh_folder_destroy()