LP#1452352: don't leak $ctx when initializing TPAC R/O object cache
authorMike Rylander <mrylander@gmail.com>
Wed, 6 May 2015 15:10:44 +0000 (11:10 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 6 May 2015 16:22:18 +0000 (16:22 +0000)
commit3235b1027e82ddc2f34345482f9d597a7faaedd8
tree41b51f68c37ec7dd6383fa96ba1c740c2acf7f3c
parentc71e4ffa89c381d650f6ba802a4ed45d43665f06
LP#1452352: don't leak $ctx when initializing TPAC R/O object cache

Create a closure over a simple scalar instead of the
whole $ctx object when all we need is the locale.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm