Talk:TODO/UFORadiant

From UFO:AI
Jump to navigation Jump to search

Radiant warnings

accelerator already in-use: <Shift>x
accelerator already in-use: j
accelerator already in-use: e

GTK warnings

Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
fixed by setting page-size to 0 on adjustment - RudolfoWood 17:01, 3 February 2009 (UTC)
Gtk-CRITICAL **: gtk_accel_group_connect: assertion `GTK_IS_ACCEL_GROUP (accel_group)' failed

Compiler warnings

src/tools/radiant/radiant/exec.cpp: In function 'void exec_run(Exec*)':
src/tools/radiant/radiant/exec.cpp:379: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/console.cpp: In function 'size_t Sys_Print(int, const char*, size_t)':
src/tools/radiant/radiant/console.cpp:155: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/renderstate.cpp: In member function 'void OpenGLShader::construct(const char*)':
src/tools/radiant/radiant/renderstate.cpp:1317: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/tools/radiant/radiant/renderstate.cpp:1317: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/tools/radiant/radiant/textures.cpp: In function 'void Textures_constructPreferences(PreferencesPage&)':
src/tools/radiant/radiant/textures.cpp:676: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/tools/radiant/radiant/textures.cpp: In function 'void Textures_Construct()':
src/tools/radiant/radiant/textures.cpp:702: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/tools/radiant/radiant/textures.cpp:704: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/tools/radiant/radiant/textures.cpp:704: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/tools/radiant/radiant/treemodel.cpp: In function 'std::_Rb_tree_iterator<std::pair<const std::pair<String<CopiedBuffer<DefaultAllocator<char> > >, scene::Node*>, GraphTreeNode*> > graph_iterator_read_tree_iter(GtkTreeIter*)':
src/tools/radiant/radiant/treemodel.cpp:137: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/tools/radiant/radiant/treemodel.cpp: In function 'void graph_iterator_write_tree_iter(std::_Rb_tree_iterator<std::pair<const std::pair<String<CopiedBuffer<DefaultAllocator<char> > >, scene::Node*>, GraphTreeNode*> >, GtkTreeIter*)':
src/tools/radiant/radiant/treemodel.cpp:143: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/tools/radiant/radiant/treemodel.cpp:143: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/tools/radiant/radiant/xywindow.cpp: In function 'void WXY_Print()':
src/tools/radiant/radiant/xywindow.cpp:574: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:576: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:578: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:580: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:582: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:584: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:590: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:592: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:594: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:596: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:598: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:600: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:602: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:604: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:606: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:608: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/xywindow.cpp:610: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/dialogs/texteditor.cpp: In function 'void editor_save(GtkWidget*, void*)':
src/tools/radiant/radiant/dialogs/texteditor.cpp:72: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/dialogs/texteditor.cpp:76: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/radiant/dialogs/texteditor.cpp: In function 'void DoTextEditor(const char*, int, const char*)':
src/tools/radiant/radiant/dialogs/texteditor.cpp:172: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
src/tools/radiant/libs/profile/profile.cpp: In function 'bool save_var(const char*, const char*, const char*, const char*)':
src/tools/radiant/libs/profile/profile.cpp:109: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result


  • "dereferencing type-punned pointer will break strict-aliasing rules" comes from reinterpret-cast, should these be removed?
  • "ignoring return value of 'size_t fwrite" returns the actually written bytes, we could check whether these are the expected values or ignore this? RudolfoWood 17:03, 3 February 2009 (UTC)

Valgrind

==11265== 512 bytes in 1 blocks are still reachable in loss record 362 of 483
==11265==    at 0x4025D2E: malloc (vg_replace_malloc.c:207)
==11265==    by 0x818E3BC: R_ResampleTexture(void const*, int, int, void*, int, int, int) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81900A3: LoadTextureRGBA(qtexture_t*, unsigned char*, int, int) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8190349: qtexture_realise(qtexture_t&, std::pair<LoadImageCallback, String<CopiedBuffer<DefaultAllocator<char> > > > const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8192307: TexturesMap::capture(LoadImageCallback const&, char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x54AEF1D: ???
==11265==    by 0x54B0277: ???
==11265==    by 0x54B06D8: ???
==11265==    by 0x54B485C: ???
==11265==    by 0x8163F7B: OpenGLShader::construct(char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x816B568: OpenGLShaderCache::capture(char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x80DB1A6: FaceShader::captureShader() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265== 256 bytes in 1 blocks are definitely lost in loss record 349 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x54FD65F: ???
==11265==    by 0x54F9391: ???
==11265==    by 0x54F6C56: ???
==11265==    by 0x815D414: ModelResource_load(ModelLoader*, char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x815EC88: Model_load(ModelLoader*, char const*, char const*, char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8163066: ModelResource::load() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x543CE24: ???
==11265==    by 0x815F8AA: ModelResource::attach(ModuleObserver&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x54483FF: ???
==11265==    by 0x545C8A8: ???
==11265==    by 0x543ED5A: ???
==11265==
==11265==
==11265== 256 bytes in 1 blocks are definitely lost in loss record 350 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x545FD24: ???
==11265==    by 0x545FF07: ???
==11265==    by 0x80E3044: InstanceSubgraphWalker::pre(scene::Node&) const (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x813A9C4: TraversableNodeSet::traverse(scene::Traversable::Walker const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x816E587: CompiledGraph::insert_root(scene::Node&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x813AFD9: Map::realise() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x815F8AA: ModelResource::attach(ModuleObserver&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8136CC8: Map_LoadFile(char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8136F3B: OpenMap() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x49863D3: g_cclosure_marshal_VOID__VOID (in /usr/lib/libgobject-2.0.so.0.1800.2)
==11265==    by 0x4978C4A: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1800.2)
==11265==
==11265==
==11265== 256 bytes in 1 blocks are definitely lost in loss record 351 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x547137C: ???
==11265==    by 0x54715A7: ???
==11265==    by 0x80E3044: InstanceSubgraphWalker::pre(scene::Node&) const (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x813A9C4: TraversableNodeSet::traverse(scene::Traversable::Walker const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x816E587: CompiledGraph::insert_root(scene::Node&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x813AFD9: Map::realise() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x815F8AA: ModelResource::attach(ModuleObserver&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8136CC8: Map_LoadFile(char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8136F3B: OpenMap() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x49863D3: g_cclosure_marshal_VOID__VOID (in /usr/lib/libgobject-2.0.so.0.1800.2)
==11265==    by 0x4978C4A: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1800.2)
==11265==
==11265==
==11265== 256 bytes in 1 blocks are definitely lost in loss record 352 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x54FE7FC: ???
==11265==    by 0x54FE977: ???
==11265==    by 0x80E3044: InstanceSubgraphWalker::pre(scene::Node&) const (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x543CAD2: ???
==11265==    by 0x813A9F1: TraversableNodeSet::traverse(scene::Traversable::Walker const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x816E587: CompiledGraph::insert_root(scene::Node&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x813AFD9: Map::realise() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x815F8AA: ModelResource::attach(ModuleObserver&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8136CC8: Map_LoadFile(char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8136F3B: OpenMap() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x49863D3: g_cclosure_marshal_VOID__VOID (in /usr/lib/libgobject-2.0.so.0.1800.2)
==11265==
==11265==
==11265== 256 bytes in 1 blocks are still reachable in loss record 353 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x80E87D4: BrushInstance::BrushInstance(Stack<Reference<scene::Node> > const&, scene::Instance*, Brush&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x80E89E9: BrushNode::create(Stack<Reference<scene::Node> > const&, scene::Instance*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x80E3044: InstanceSubgraphWalker::pre(scene::Node&) const (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x545882F: ???
==11265==    by 0x81AC0DD: XYWnd::NewBrushDrag(int, int) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81AC8F5: XYWnd::XY_MouseMoved(int, int, unsigned) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x80FD38C: DeferredMotion::deferred(DeferredMotion*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x49E87C0: (within /usr/lib/libglib-2.0.so.0.1800.2)
==11265==    by 0x49EA6F7: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1800.2)
==11265==    by 0x49EDDA2: (within /usr/lib/libglib-2.0.so.0.1800.2)
==11265==    by 0x49EE2C1: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.1800.2)
==11265==
==11265==
==11265== 256 bytes in 1 blocks are definitely lost in loss record 354 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x545AC94: ???
==11265==    by 0x545AE47: ???
==11265==    by 0x80E3044: InstanceSubgraphWalker::pre(scene::Node&) const (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x813D85F: MapRoot::insert(scene::Node&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81364B4: Node_insertChildFirst(scene::Node&, scene::Node&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81365A4: createWorldspawn() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81365F4: Map_UpdateWorldspawn(Map&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8136621: Map_FindOrInsertWorldspawn(Map&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81AC0B3: XYWnd::NewBrushDrag(int, int) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81AC8F5: XYWnd::XY_MouseMoved(int, int, unsigned) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x80FD38C: DeferredMotion::deferred(DeferredMotion*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==
==11265==
==11265== 256 bytes in 1 blocks are definitely lost in loss record 355 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x5456309: ???
==11265==    by 0x543A1BF: ???
==11265==    by 0x8136581: createWorldspawn() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81365F4: Map_UpdateWorldspawn(Map&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8136621: Map_FindOrInsertWorldspawn(Map&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81AC0B3: XYWnd::NewBrushDrag(int, int) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81AC8F5: XYWnd::XY_MouseMoved(int, int, unsigned) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x80FD38C: DeferredMotion::deferred(DeferredMotion*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x49E87C0: (within /usr/lib/libglib-2.0.so.0.1800.2)
==11265==    by 0x49EA6F7: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1800.2)
==11265==    by 0x49EDDA2: (within /usr/lib/libglib-2.0.so.0.1800.2)
==11265==
==11265==
==11265== 256 bytes in 1 blocks are still reachable in loss record 356 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x80E51A3: BrushNode::BrushNode() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x80E5351: UFOBrushCreator::createBrush() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81AC08E: XYWnd::NewBrushDrag(int, int) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81AC8F5: XYWnd::XY_MouseMoved(int, int, unsigned) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x80FD38C: DeferredMotion::deferred(DeferredMotion*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x49E87C0: (within /usr/lib/libglib-2.0.so.0.1800.2)
==11265==    by 0x49EA6F7: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1800.2)
==11265==    by 0x49EDDA2: (within /usr/lib/libglib-2.0.so.0.1800.2)
==11265==    by 0x49EE2C1: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.1800.2)
==11265==    by 0x432D3A8: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.1400.4)
==11265==    by 0x81274FF: main (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==
==11265==
==11265== 256 bytes in 1 blocks are definitely lost in loss record 357 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x545361C: ???
==11265==    by 0x5453847: ???
==11265==    by 0x80E3044: InstanceSubgraphWalker::pre(scene::Node&) const (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x813A9C4: TraversableNodeSet::traverse(scene::Traversable::Walker const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x816E587: CompiledGraph::insert_root(scene::Node&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x813AFD9: Map::realise() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x815F8AA: ModelResource::attach(ModuleObserver&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8136CC8: Map_LoadFile(char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8136F3B: OpenMap() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x49863D3: g_cclosure_marshal_VOID__VOID (in /usr/lib/libgobject-2.0.so.0.1800.2)
==11265==    by 0x4978C4A: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1800.2)
==11265==
==11265==
==11265== 256 bytes in 1 blocks are definitely lost in loss record 358 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x5473372: ???
==11265==    by 0x546EA76: ???
==11265==    by 0x543A144: ???
==11265==    by 0x54947E5: ???
==11265==    by 0x54956CC: ???
==11265==    by 0x54958BE: ???
==11265==    by 0x549255D: ???
==11265==    by 0x815D935: MapResource_loadFile(MapFormat const&, scene::Node&, char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x815EAD6: MapResource_load(MapFormat const&, char const*, char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x815ED1A: Model_load(ModelLoader*, char const*, char const*, char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8163066: ModelResource::load() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==
==11265==
==11265== 904 bytes in 113 blocks are still reachable in loss record 321 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x81CF9CB: accel_group_add_accelerator(_GtkAccelGroup*, Accelerator, Callback0<void> const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81CFB60: global_accel_group_add_accelerator(Accelerator, Callback0<void> const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81CFBAF: global_accel_group_connect(Accelerator const&, Callback0<void> const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8123598: create_check_menu_item_with_mnemonic(_GtkMenu*, char const*, char const*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81206F9: Filters_constructMenu(_GtkMenu*) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8129A68: _ZL16create_main_menuN9MainFrame10EViewStyleE (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x812D821: MainFrame::Create() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x812E620: MainFrame::MainFrame() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x81273C2: main (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==
==11265==
==11265== 1,080 bytes in 45 blocks are still reachable in loss record 329 of 483
==11265==    at 0x402573E: operator new(unsigned) (vg_replace_malloc.c:224)
==11265==    by 0x81538F3: std::_Rb_tree<String<CopiedBuffer<DefaultAllocator<char> > >, std::pair<String<CopiedBuffer<DefaultAllocator<char> > > const, String<CopiedBuffer<DefaultAllocator<char> > > >, std::_Select1st<std::pair<String<CopiedBuffer<DefaultAllocator<char> > > const, String<CopiedBuffer<DefaultAllocator<char> > > > >, std::less<String<CopiedBuffer<DefaultAllocator<char> > > >, std::allocator<std::pair<String<CopiedBuffer<DefaultAllocator<char> > > const, String<CopiedBuffer<DefaultAllocator<char> > > > > >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::pair<String<CopiedBuffer<DefaultAllocator<char> > > const, String<CopiedBuffer<DefaultAllocator<char> > > > const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8153AAC: std::_Rb_tree<String<CopiedBuffer<DefaultAllocator<char> > >, std::pair<String<CopiedBuffer<DefaultAllocator<char> > > const, String<CopiedBuffer<DefaultAllocator<char> > > >, std::_Select1st<std::pair<String<CopiedBuffer<DefaultAllocator<char> > > const, String<CopiedBuffer<DefaultAllocator<char> > > > >, std::less<String<CopiedBuffer<DefaultAllocator<char> > > >, std::allocator<std::pair<String<CopiedBuffer<DefaultAllocator<char> > > const, String<CopiedBuffer<DefaultAllocator<char> > > > > >::_M_insert_unique(std::pair<String<CopiedBuffer<DefaultAllocator<char> > > const, String<CopiedBuffer<DefaultAllocator<char> > > > const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8150FFF: CGameDescription::CGameDescription(_xmlDoc*, String<CopiedBuffer<DefaultAllocator<char> > > const&) (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x815120F: CGameDialog::Init() (in /home/mattn/dev/ufoai/radiant/radiant)
==11265==    by 0x8127123: main (in /home/mattn/dev/ufoai/radiant/radiant)