projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Other obviously bad, allocations
[freeradius.git]
/
src
/
modules
/
rlm_radutmp
/
rlm_radutmp.c
diff --git
a/src/modules/rlm_radutmp/rlm_radutmp.c
b/src/modules/rlm_radutmp/rlm_radutmp.c
index
6fe71ba
..
ba8d1d3
100644
(file)
--- a/
src/modules/rlm_radutmp/rlm_radutmp.c
+++ b/
src/modules/rlm_radutmp/rlm_radutmp.c
@@
-484,7
+484,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(
inst
, NAS_PORT);
+ cache = talloc_zero(
NULL
, NAS_PORT);
if (cache) {
cache->nasaddr = ut.nas_address;
cache->port = ut.nas_port;