Jump to content

Recommended Posts

Here is an gdb from my crashcore! ?

https://metin2.download/picture/WDWSG5Etyick5ehA0l5DZG7T20I8O361/.png

item.cpp 

void CItem::SetOwnership(LPCHARACTER ch, int iSec)
{
    if (!ch)
    {
        if (m_pkOwnershipEvent)
        {
            event_cancel(&m_pkOwnershipEvent);
            m_dwOwnershipPID = 0;

            TPacketGCItemOwnership p;

            p.bHeader    = HEADER_GC_ITEM_OWNERSHIP;
            p.dwVID    = m_dwVID;
            p.szName[0]    = '\0';

            PacketAround(&p, sizeof(p));   // - LINE 1306
        }
        return;
    }

entity.cpp

void CEntity::PacketAround(const void * data, int bytes, LPENTITY except)
{
    PacketView(data, bytes, except);    // -- LINE 90 
}

I think is about a memory leak, but i don't know, can someone help me? free or with money, here or on discord! ?

Discord: LegendaXXL#8018

Edited by Metin2 Dev
Core X - External 2 Internal

Respect!

Link to comment
https://metin2.dev/topic/28061-ask-for-memory-leakoptimisation-out/
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.