The following commit has been merged in the master branch: commit 4b42b07fde2cb87ecb0f3135612a4c086227fa09 Author: Mark Vitale <mvit...@sinenomine.net> Date: Fri May 12 23:51:48 2023 -0400
vol: Don't leak volume bitmaps Since the original IBM code import, attach2 has set the volume's index bitmaps to NULL in preparation for allocating and initalizing new bitmaps. However, the volume may already have bitmaps from previous operations, and this is much more likely with DAFS. In this case, the old bitmaps are leaked. Instead, free any existing bitmap before allocating a new one. Discovered via Solaris libumem.so.1. Change-Id: I77e42ccd36cedead060974a4fe99e37b4f262093 Reviewed-on: https://gerrit.openafs.org/15428 Tested-by: BuildBot <build...@rampaginggeek.com> Reviewed-by: Andrew Deason <adea...@sinenomine.net> Reviewed-by: Cheyenne Wills <cwi...@sinenomine.net> Reviewed-by: Benjamin Kaduk <ka...@mit.edu> src/vol/volume.c | 2 ++ 1 file changed, 2 insertions(+) -- OpenAFS Master Repository _______________________________________________ OpenAFS-cvs mailing list OpenAFS-cvs@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-cvs