From: Reed H. <re...@mo...> - 2006-06-15 18:28:57
|
Reed Hedges wrote: > Has more free-ing of memory been implemented in libstage since Stage 2.0.0a when > destroying models (i.e. stg_model_destroy)? > > I'm working on some memory leaks when destroying models. Ah, I should have also said that in addition to destroying models (and creating new ones), I'm also unmapping all models from the matrix, destroying it, and remapping the models. This is a (crude I guess) way of resizing the world when loading a model (a map) that's bigger than the existing extents of the world. I'm beginning to think that I'm loosing memory somewhere in this recreation/remapping process. Any ideas about possible things to look out for that might need to be deallocated when destroying both models and the world matrix tree? Thanks Reed |