In nearly every script with var list = ds_list_create(), there is no call to destroy it. Instead, they end in either ds_list_clear(list) or ds_list_empty(list). Being a local variable, list receives a new id every time it is declared; thusly, every ds_list assigned to it (that is not destroyed at the end of the script), is kept in memory forever (until the game closes).
This could be a contributor to a small portion of the memory leaks.
In nearly every script with
var list = ds_list_create()
, there is no call to destroy it. Instead, they end in eitherds_list_clear(list)
ords_list_empty(list)
. Being a local variable,list
receives a new id every time it is declared; thusly, every ds_list assigned to it (that is not destroyed at the end of the script), is kept in memory forever (until the game closes). This could be a contributor to a small portion of the memory leaks.