LearningRO Posted January 31, 2019 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 10 hours ago Share Posted January 31, 2019 i got memory leaks when try to shut down my server Memory manager: Memory leaks found at 2019/01/31 06h08m47s (Git Hash 54b2cf3215e6f2eeeb6ff304be11dd9ee3e13b3f). 0001 : pc.cpp line 2355 size 34 address 0x0x7f4d83e592f4 0002 : pc.cpp line 2354 size 20 address 0x0x7f4d82ecbfb4 0003 : clif.cpp line 15918 size 11 address 0x0x7f4d73dcf3ac 0004 : clif.cpp line 15917 size 6 address 0x0x7f4d73dd216c 0005 : clif.cpp line 15918 size 1 address 0x0x7f4d73dd234c 0006 : clif.cpp line 15917 size 6 address 0x0x7f4d73dd285c This the line pc.cpp entry.bonus_script = aStrdup(script); entry.other_script = (other_script ? aStrdup(other_script) : NULL); This the line clif.cpp title = (char*)aMalloc(titleLength); text = (char*)aMalloc(textLength); Quote Link to comment Share on other sites More sharing options...
0 brunoshp Posted November 21, 2019 Group: Members Topic Count: 64 Topics Per Day: 0.01 Content Count: 180 Reputation: 7 Joined: 12/19/12 Last Seen: November 21, 2024 Share Posted November 21, 2019 up Quote Link to comment Share on other sites More sharing options...
Question
LearningRO
i got memory leaks when try to shut down my server
Memory manager: Memory leaks found at 2019/01/31 06h08m47s (Git Hash 54b2cf3215e6f2eeeb6ff304be11dd9ee3e13b3f). 0001 : pc.cpp line 2355 size 34 address 0x0x7f4d83e592f4 0002 : pc.cpp line 2354 size 20 address 0x0x7f4d82ecbfb4 0003 : clif.cpp line 15918 size 11 address 0x0x7f4d73dcf3ac 0004 : clif.cpp line 15917 size 6 address 0x0x7f4d73dd216c 0005 : clif.cpp line 15918 size 1 address 0x0x7f4d73dd234c 0006 : clif.cpp line 15917 size 6 address 0x0x7f4d73dd285c
This the line pc.cpp
entry.bonus_script = aStrdup(script); entry.other_script = (other_script ? aStrdup(other_script) : NULL);
This the line clif.cpp
title = (char*)aMalloc(titleLength); text = (char*)aMalloc(textLength);
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.