Possible memory leak: majority of ds_list
s are not destroyed
#126
Labels
bug
Something isn't working the way it should
ds_list
s are not destroyed
#126
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.
The text was updated successfully, but these errors were encountered: