OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-329-g5e58e96
Gerrit Code Review
gerrit@openafs.org
Tue, 21 Oct 2025 16:02:12 -0400
The following commit has been merged in the master branch:
commit 5e58e961a9de7af8ccfd7f20c065183f2df64bc4
Author: Mark Vitale <mvitale@sinenomine.net>
Date: Tue Aug 26 22:25:21 2025 -0400
DARWIN: Release cacheInfoStrData in readCacheInfo
Since the introduction of the OpenAFS prefpane (commit 694c5ca3f400 'OSX
Preference Pane Source Import'), the function readCacheInfo() has
allocated a temporary local storage to parse the cacheinfo file, but the
release of this storage has been commented out. This results in a
memory leak proportional to the size of the cacheinfo file on every call
to readCacheInfo().
Uncomment the release to fix the memory leak.
Discovered via the macOS 'leaks' utility.
Change-Id: I8cc25006c959f8e98a653c3c382cb3800f7cf91b
Reviewed-on: https://gerrit.openafs.org/16525
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
src/platform/DARWIN/AFSPreference/AFSPropertyManager.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
OpenAFS Master Repository