From 39a2fa8307c645eeb4e004a4770e47deba9bcc0d Mon Sep 17 00:00:00 2001 From: u-an-i <84718885+u-an-i@users.noreply.github.com> Date: Sun, 22 Oct 2023 15:42:23 +0200 Subject: [PATCH] adjust memory requirement to lower maximum needed --- Globe.c | 2 +- distributables/Globe.exe | Bin 89600 -> 89600 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Globe.c b/Globe.c index 434ac8b..fb3e65c 100644 --- a/Globe.c +++ b/Globe.c @@ -528,7 +528,7 @@ void onImageLoading(HINTERNET hInternet, DWORD_PTR dwContext, DWORD dwInternetSt if (counts.count == 0) { allImagesRequestedPresent = 1; } - char* cacheFilePath = malloc(cachePathLength + 25 + 1); + char* cacheFilePath = malloc(cachePathLength + 24 + 1); if (cacheFilePath != NULL) { char* idStartInCachePath = cacheFilePath + cachePathLength; memcpy(cacheFilePath, cachePath, cachePathLength); diff --git a/distributables/Globe.exe b/distributables/Globe.exe index dfdcb2d990496d065d1af09d45a5514af6b2f720..daa6ed4438a9a1bb294f81734854320890d49fe0 100644 GIT binary patch delta 26 icmZqJ!`iTibwUGEpX$b@SRO{n<_A36AMh|L1Ofnw#|eS} delta 26 icmZqJ!`iTibwUFZkIKfTSRO{H<_A36AMh|L1Ofno9|-^e