Fix leak when setting graphic name in scene editor.  https://tracker.physiomeproject.org/show_bug.cgi?id=2966
Fix leak when setting graphic name in scene editor.  https://tracker.physiomeproject.org/show_bug.cgi?id=2966

cmiss/cmgui,cmiss/cmgui