Issue661

Title memleaks / valgrind
Priority bug Status open
Assigned To Keywords
Linked issues Watchers

Submitted on 2013-03-08 21h07 by matthiaskrgr, last changed by matthiaskrgr.

Messages
Author: matthiaskrgr Date: 2013-03-08   21h07
==5124== 28 bytes in 28 blocks are definitely lost in loss record 53 of 661
==5124==    at 0x4C29E84: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5124==    by 0x4415BC: MyMalloc (text_public.c:58)
==5124==    by 0x441916: ReadAndMallocStringFromDataOptional (text_public.c:201)
==5124==    by 0x42D7B3: LoadShip (map.c:353)
==5124==    by 0x420402: load_saved_game (saveloadgame.c:375)
==5124==    by 0x415D84: Escape_handle (menu.c:949)
==5124==    by 0x416A2C: RunSubMenu (menu.c:735)
==5124==    by 0x417C6D: EscapeMenu (menu.c:764)
==5124==    by 0x449AB2: input_key.constprop.2 (keyboard.c:669)
==5124==    by 0x449B16: input_key_press (keyboard.c:803)
==5124==    by 0x447CB7: input_handle (input.c:119)
==5124==    by 0x44A518: Game (main.c:89)

==5124== 
==5124== 28 bytes in 28 blocks are definitely lost in loss record 54 of 661
==5124==    at 0x4C29E84: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5124==    by 0x4415BC: MyMalloc (text_public.c:58)
==5124==    by 0x441916: ReadAndMallocStringFromDataOptional (text_public.c:201)
==5124==    by 0x42D7B3: LoadShip (map.c:353)
==5124==    by 0x4334F8: prepare_level_editor (init.c:1251)
==5124==    by 0x4144C1: main (main.c:162)

==5124== 32 bytes in 4 blocks are definitely lost in loss record 73 of 661
==5124==    at 0x4C2C04B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5124==    by 0x65C1DF1: strdup (in /usr/lib/libc-2.17.so)
==5124==    by 0x42C83B: decode_extension_label (map.c:601)
==5124==    by 0x42E0EC: LoadShip (map.c:613)
==5124==    by 0x4334F8: prepare_level_editor (init.c:1251)
==5124==    by 0x4144C1: main (main.c:162)


==5124== 88 (24 direct, 64 indirect) bytes in 1 blocks are definitely lost in
loss record 264 of 661
==5124==    at 0x4C2C04B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5124==    by 0x468332: alloc_autostr (string.c:54)
==5124==    by 0x456C30: chat_push_context (chat.c:65)
==5124==    by 0x457CD8: chat_with_droid (chat.c:900)
==5124==    by 0x44500A: update_enemy (enemy.c:1812)
==5124==    by 0x4474F3: move_enemies (enemy.c:2039)
==5124==    by 0x44A559: Game (main.c:109)
==5124==    by 0x470807: TestMap (lvledit.c:251)
==5124==    by 0x477147: DoLevelEditorMainMenu (lvledit_menu.c:1052)
==5124==    by 0x47527B: leveleditor_process_input (lvledit_input.c:193)
==5124==    by 0x470864: LevelEditor (lvledit.c:281)
==5124==    by 0x414484: main (main.c:185)

==5124== 176 (48 direct, 128 indirect) bytes in 2 blocks are definitely lost in
loss record 350 of 661
==5124==    at 0x4C2C04B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5124==    by 0x468332: alloc_autostr (string.c:54)
==5124==    by 0x456C30: chat_push_context (chat.c:65)
==5124==    by 0x457CD8: chat_with_droid (chat.c:900)
==5124==    by 0x43C1AB: check_for_droids_to_attack_or_talk_with (influ.c:1556)
==5124==    by 0x43CA0A: move_tux (influ.c:1647)
==5124==    by 0x44A54E: Game (main.c:106)
==5124==    by 0x470807: TestMap (lvledit.c:251)
==5124==    by 0x477147: DoLevelEditorMainMenu (lvledit_menu.c:1052)
==5124==    by 0x47527B: leveleditor_process_input (lvledit_input.c:193)
==5124==    by 0x470864: LevelEditor (lvledit.c:281)
==5124==    by 0x44969E: input_key.constprop.2 (keyboard.c:646)


==5124== 528 (144 direct, 384 indirect) bytes in 6 blocks are definitely lost in
loss record 433 of 661
==5124==    at 0x4C2C04B: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5124==    by 0x468332: alloc_autostr (string.c:54)
==5124==    by 0x456C30: chat_push_context (chat.c:65)
==5124==    by 0x457CD8: chat_with_droid (chat.c:900)
==5124==    by 0x43C1AB: check_for_droids_to_attack_or_talk_with (influ.c:1556)
==5124==    by 0x43CA0A: move_tux (influ.c:1647)
==5124==    by 0x44A54E: Game (main.c:106)
==5124==    by 0x470807: TestMap (lvledit.c:251)
==5124==    by 0x477147: DoLevelEditorMainMenu (lvledit_menu.c:1052)
==5124==    by 0x47527B: leveleditor_process_input (lvledit_input.c:193)
==5124==    by 0x470864: LevelEditor (lvledit.c:281)
==5124==    by 0x414484: main (main.c:185)


671b1921fd5f8a615004005dccf8f2e297b50a7f
History
Date User Action Args
2013-03-08 21:07:58matthiaskrgrcreate