Essentially add some API to properly free non-public data, instead of directly calling `MEM_freeN` on them. Based on @brecht code from https://projects.blender.org/mont29/blender/compare/tmp-guardedalloc-api...brecht:free-void Co-authored-by: Brecht Van Lommel <brecht@blender.org> Pull Request: https://projects.blender.org/blender/blender/pulls/134765