Memory Leaks found on r16064 to 16076 script.c and db.c
Memory Leaks found on r16064 to 16076 script.c and db.c
Warning! This is the old Hercules bugtracker archive, and may not reflect the current state of Hercules. The current bugtracker is on GitHub Issues.
Issue information
Issue ID
#5695
Status
Fixed
Severity
Fair
Started
Hercules Elf Bot
May 4, 2012 13:20
Last Post
Hercules Elf Bot
May 18, 2012 11:46
Confirmation
Yes (2)
No (0)
Hercules Elf Bot - May 4, 2012 13:20
Originally posted by [b]ngek202[/b] Clean SVN no Source Mods.. Just some NPC's
Healer, Shops, Job Master, Reset, Breeder, Platinum Skills, Toasty's Warper.
after @mapexit
script.c Line 4519
whats on Line 4519:
[CODE]
data->ref = (struct DBMap**)aCalloc(sizeof(struct DBMap*), 1);
[/CODE]
db.c Line 1387
whats on Line 1387:
[CODE]
CREATE(it, struct DBIterator_impl, 1);
[/CODE]
Memory Leak Logs:
[CODEbox]
Memory manager: Memory leaks found at 2012/05/03 23h27m45s (Revision 16064).
0001 : c:\users\Win7\desktop\rAthenaSVN\r16064\src\map\script.c line 4519 size 4 address 0x151784CC
0002 : c:\users\Win7\desktop\rAthenaSVN\r16064\src\map\script.c line 4519 size 4 address 0x1517850C
0003 : c:\users\Win7\desktop\rAthenaSVN\r16064\src\map\script.c line 4519 size 4 address 0x155E96C4
0004 : c:\users\Win7\desktop\rAthenaSVN\r16064\src\map\script.c line 4519 size 4 address 0x155F0864
0005 : c:\users\Win7\desktop\rAthenaSVN\r16064\src\map\script.c line 4519 size 4 address 0x155F0924
0006 : c:\users\Win7\desktop\rAthenaSVN\r16064\src\map\script.c line 4519 size 4 address 0x155F0B64
Memory manager: Memory leaks found at 2012/05/03 23h41m39s (Revision 16064).
0001 : c:\users\Win7\desktop\rAthenaSVN\r16064\src\map\script.c line 4519 size 4 address 0x1517842C
Memory manager: Memory leaks found at 2012/05/04 10h52m08s (Revision 16074).
0001 : c:\users\Win7\desktop\rAthenaSVN\r16075\src\common\db.c line 1387 size 40 address 0x1573D6F4
0002 : c:\users\Win7\desktop\rAthenaSVN\r16075\src\common\db.c line 1387 size 40 address 0x1573D734
0003 : c:\users\Win7\desktop\rAthenaSVN\r16075\src\common\db.c line 1387 size 40 address 0x1573D774
0004 : c:\users\Win7\desktop\rAthenaSVN\r16075\src\common\db.c line 1387 size 40 address 0x1573D7B4
Memory manager: Memory leaks found at 2012/05/04 11h44m29s (Revision 16074).
0001 : c:\users\Win7\desktop\rAthenaSVN\r16075\src\map\script.c line 4519 size 4 address 0x0FDC5394
0002 : c:\users\Win7\desktop\rAthenaSVN\r16075\src\map\script.c line 4519 size 4 address 0x0FDC53D4
0003 : c:\users\Win7\desktop\rAthenaSVN\r16075\src\map\script.c line 4519 size 4 address 0x0FDC53F4
0004 : c:\users\Win7\desktop\rAthenaSVN\r16075\src\map\script.c line 4519 size 4 address 0x0FDC5414
0005 : c:\users\Win7\desktop\rAthenaSVN\r16075\src\map\script.c line 4519 size 4 address 0x0FDC5434
0006 : c:\users\Win7\desktop\rAthenaSVN\r16075\src\map\script.c line 4519 size 4 address 0x0FDC5454
Memory manager: Memory leaks found at 2012/05/04 21h01m51s (Revision 16076).
0001 : c:\users\Win7\desktop\rAthenaSVN\r16076\src\common\db.c line 1387 size 40 address 0x14F34E14
0002 : c:\users\Win7\desktop\rAthenaSVN\r16076\src\common\db.c line 1387 size 40 address 0x14F34E54
0003 : c:\users\Win7\desktop\rAthenaSVN\r16076\src\common\db.c line 1387 size 40 address 0x14F34E94
0004 : c:\users\Win7\desktop\rAthenaSVN\r16076\src\common\db.c line 1387 size 40 address 0x14F34ED4
[/CODEbox]
and Would like to know if this is critical?
This post has been edited by
ngek202
on May 4, 2012 13:21
Hercules Elf Bot - May 4, 2012 23:19
Originally posted by [b]GreenBox[/b] Fixed in [rev=16079].
Hercules Elf Bot - May 5, 2012 3:50
Originally posted by [b]ngek202[/b] Thanks works fine now