From c9864741f369e2b4c8b5c16cf23b6111b2a1e371 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Thu, 9 Feb 2023 19:27:25 +0300 Subject: [PATCH] Fix crash in artLockFrameDataReturningSize Closes #231 --- src/art.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/art.cc b/src/art.cc index 1157f60..426a33f 100644 --- a/src/art.cc +++ b/src/art.cc @@ -477,7 +477,7 @@ unsigned char* artLockFrameDataReturningSize(int fid, CacheEntry** handlePtr, in { *handlePtr = NULL; - Art* art; + Art* art = NULL; cacheLock(&gArtCache, fid, (void**)&art, handlePtr); if (art == NULL) {