Jump to content
  • 0

Memory leaks


LearningRO

Question


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...