DarkflameUniverse / DarkflameServer

The main repository for the Darkflame Universe Server Emulator project.
https://www.darkflameuniverse.org/
GNU Affero General Public License v3.0
639 stars 172 forks source link

ENH: explore better way of freeing item memory #1568

Open EmosewaMC opened 3 months ago

EmosewaMC commented 3 months ago

Is your feature request related to a problem?

1567

Describe the solution you'd like

Find some other way of managing item memory that does not involved a delete this as shown here this has caused an error with a use after free.

Repository breaking implications

May leak memory if free is not implemented correctly

Describe alternatives you've considered

more use after free

Additional context

wyoming