Closed ALiwoto closed 3 years ago
Please fix the memory leak issue, we need to reclaim any unused resource.
Every calloc
must be free
-ed.
See tg_event_destroy_text
in tg_event.c
. You have to implement the same thing for everything you have calloc
-ed.
It's very easy to do it myself, but you won't fix memory leak issue in the future if I fix this myself.
@ammarfaizi2 thank you for reminding me! you are the best teacher I've ever had!
Good job, thanks. I am merging this.
Signed-off-by: Aliwoto aminnimaj@gmail.com