Blender Git Loki

Git Commits -> Revision 0624235

Revision 0624235 by Jeroen Bakker (master)
November 22, 2021, 14:52 (GMT)
Moviecache: Fix potential memory corruption.

`IMB_moviecache` is implemented as a singleton. When destructing the
singleton via `IMB_moviecache_destruct` it will not be created anymore
resulting inusage of unallocated memory and potentional memory
corruption.

When running blender this doesn't happen, but when creating images in
test cases the moviecache should be able to be recreated after it is
destroyed.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D13287

Commit Details:

Full Hash: 06242359008f0adb1d8330f5253e208a6779fe0d
Parent Commit: be876b8
Lines Changed: +1, -0

1 Modified Path:

/source/blender/imbuf/intern/moviecache.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021