HBA_LoadLibrary needs to close config file when done
SMHBAAPI's HBA_LoadLibrary forget to close the stream used to read configuration file and long running applications (at least, 32-bit ones) eventually run out of resources.
This was tested using the same daemon now running without issues and been in production for several years.
Updated by Electric Monk 2 months ago
- Status changed from Pending RTI to Closed
commit 17c4dadf772c2bfb28130f501dc6e1f46f8b1250 Author: Rick McNeal <firstname.lastname@example.org> Date: 2022-09-29T19:00:47.000Z 15020 HBA_LoadLibrary needs to close config file when done Reviewed by: Sanjay Nadkarni <email@example.com> Reviewed by: Evan Layton <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Jean McCormack <firstname.lastname@example.org> Reviewed by: Rob Gittins <email@example.com> Reviewed by: Jason King <firstname.lastname@example.org> Reviewed by: Marco van Wieringen <email@example.com> Approved by: Patrick Mooney <firstname.lastname@example.org>