Fix crash in artLockFrameDataReturningSize

Closes #231
This commit is contained in:
Alexander Batalov 2023-02-09 19:27:25 +03:00
parent 5a230efd2b
commit c9864741f3
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ unsigned char* artLockFrameDataReturningSize(int fid, CacheEntry** handlePtr, in
{ {
*handlePtr = NULL; *handlePtr = NULL;
Art* art; Art* art = NULL;
cacheLock(&gArtCache, fid, (void**)&art, handlePtr); cacheLock(&gArtCache, fid, (void**)&art, handlePtr);
if (art == NULL) { if (art == NULL) {