Kuroyama New member Messages 128 Points 0 Sep 20, 2020 #2 I'm receiving this kind of error message while compiling this plugin https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/%40market.c :
I'm receiving this kind of error message while compiling this plugin https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/%40market.c :
AnnieRuru ~~Cute~Cute~Scripter~~ Messages 1,677 Points 0 Location your next door ~ Discord AnnieRuru#1609 Github AnnieRuru Emulator Client Version 2019-05-30aRagexeRE Sep 20, 2020 #3 dastgir has been a big help trying to help maintain some of my plugins, but this one in particular, I see the version is 1.6, which means he miss the version 1.7 update 1.7 - plugin - fix memory leak for not removing the chatroom Click to expand... yup, the one you posted has memory leak problem because the chat-room doesn't remove properly eg: only remove the chat-room shown, but the memory still persist see the remove_chatroom function to see how to remove the chat-room from server memory properly ... which was copy paste from a function from chat.c anyway here is version 1.9 https://github.com/AnnieRuru/Release/blob/master/plugins/marketclone/marketclone_1.9.c Last edited by a moderator: Sep 21, 2020
dastgir has been a big help trying to help maintain some of my plugins, but this one in particular, I see the version is 1.6, which means he miss the version 1.7 update 1.7 - plugin - fix memory leak for not removing the chatroom Click to expand... yup, the one you posted has memory leak problem because the chat-room doesn't remove properly eg: only remove the chat-room shown, but the memory still persist see the remove_chatroom function to see how to remove the chat-room from server memory properly ... which was copy paste from a function from chat.c anyway here is version 1.9 https://github.com/AnnieRuru/Release/blob/master/plugins/marketclone/marketclone_1.9.c