Gani Aliguzhinov
b0123116be
Adding boneMatrices to MeshUnmanaged to fix double free
...
I noticed a bug when trying out the models_first_person_maze
example, that sometimes a double free occurs on UnloadMesh
when destructor of MeshUnmanaged is called. The offending line
is Line 1935 from rmodels.c from raylib, where
RL_FREE(mesh.boneMatrices) is called. To remedy this, I added
a default assignment of nullptr to boneMatrices and explicit
assignment throught the set method.
2024-12-08 03:24:16 +01:00
..
2024-08-31 17:04:54 +02:00
2024-11-14 13:33:56 -05:00
2024-11-14 13:33:56 -05:00
2024-08-31 17:04:54 +02:00
2024-10-16 20:13:44 +05:30
2024-11-18 18:22:55 -05:00
2024-08-31 17:02:44 +02:00
2024-11-18 18:22:55 -05:00
2024-08-31 17:04:54 +02:00
2024-08-31 17:04:54 +02:00
2024-11-14 13:33:56 -05:00
2024-08-31 17:04:54 +02:00
2024-11-18 18:22:55 -05:00
2024-11-18 18:22:55 -05:00
2024-08-31 17:04:54 +02:00
2024-11-14 13:33:56 -05:00
2024-08-31 17:04:54 +02:00
2024-08-31 17:04:54 +02:00
2024-12-08 03:24:16 +01:00
2024-11-18 18:22:55 -05:00
2024-11-18 18:22:55 -05:00
2024-08-31 17:04:54 +02:00
2024-11-14 13:33:56 -05:00
2024-08-31 17:04:54 +02:00
2024-08-31 17:04:54 +02:00
2024-08-31 17:04:54 +02:00
2024-08-31 17:04:54 +02:00
2024-08-31 13:24:24 -04:00
2024-08-31 17:04:54 +02:00
2024-11-14 13:33:56 -05:00
2024-11-18 18:22:55 -05:00
2024-11-14 13:33:56 -05:00
2024-08-31 17:04:54 +02:00
2024-11-14 13:33:56 -05:00
2024-11-14 13:33:56 -05:00
2024-08-31 17:04:54 +02:00
2024-08-31 17:04:54 +02:00
2024-11-14 13:33:56 -05:00
2024-08-31 17:04:54 +02:00
2024-11-14 13:33:56 -05:00
2024-08-31 17:04:54 +02:00
2024-08-31 17:04:54 +02:00
2024-08-31 17:04:54 +02:00
2024-11-14 13:33:56 -05:00
2024-08-31 17:04:54 +02:00