author | Kim Alvefur <zash@zash.se> |
Sun, 07 Nov 2021 14:25:58 +0100 | |
changeset 4762 | b9af1ccac98b |
parent 4761 | 8e22b858628f |
child 4763 | f649305d0bec |
--- a/mod_measure_malloc/mod_measure_malloc.lua Sun Nov 07 14:18:47 2021 +0100 +++ b/mod_measure_malloc/mod_measure_malloc.lua Sun Nov 07 14:25:58 2021 +0100 @@ -25,7 +25,7 @@ ):with_labels(); module:hook("stats-update", function () - meminfo = pposix.meminfo(); + local meminfo = pposix.meminfo(); if meminfo.allocated then allocated:with_labels("sbrk"):set(meminfo.allocated); end