Skip to content

Commit

Permalink
Correctly parent cache entry
Browse files Browse the repository at this point in the history
  • Loading branch information
ndptech committed Feb 22, 2024
1 parent f17c4ee commit bb488d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_radutmp/rlm_radutmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bb488d0

Please sign in to comment.