Fixed two memory leaks when creating folderitems.