Page MenuHome

BGE: Fix T46394 Memory leak when exiting the blenderplayer
AbandonedPublic

Authored by Ulysse Martin (youle) on Dec 12 2015, 5:50 PM.

Details

Summary

BGE: Fix T46394 Memory leak when exiting the blenderplayer

I'm not sure about why, but when you exit the blenderplayer, the address created in readfile.c is not freed correctly. It seems to be related to OldNew structure number of users.
I propose this but I let more experimented users review it. I took example on another pieces od code in readfile.c

Diff Detail

Event Timeline

Ulysse Martin (youle) retitled this revision from to BGE: Fix T46394 Memory leak when exiting the blenderplayer.
Ulysse Martin (youle) updated this object.

This revision cause issues.