summaryrefslogtreecommitdiffstats
path: root/src/modules/rlm_radutmp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/rlm_radutmp/rlm_radutmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/rlm_radutmp/rlm_radutmp.c b/src/modules/rlm_radutmp/rlm_radutmp.c
index b3d0037..999e6c4 100644
--- a/src/modules/rlm_radutmp/rlm_radutmp.c
+++ b/src/modules/rlm_radutmp/rlm_radutmp.c
@@ -489,7 +489,7 @@ static rlm_rcode_t CC_HINT(nonnull) mod_accounting(void *instance, REQUEST *requ
* easier than searching through the entire file.
*/
if (!cache) {
- cache = talloc_zero(NULL, NAS_PORT);
+ cache = talloc_zero(inst, NAS_PORT);
if (cache) {
cache->nasaddr = ut.nas_address;
cache->port = ut.nas_port;