projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9f8622
)
Quiet compiler warning
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 19 Oct 2011 15:46:17 +0000
(17:46 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 19 Oct 2011 15:47:55 +0000
(17:47 +0200)
src/modules/rlm_counter/rlm_counter.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_counter/rlm_counter.c
b/src/modules/rlm_counter/rlm_counter.c
index
d5ed5d2
..
cf884e0
100644
(file)
--- a/
src/modules/rlm_counter/rlm_counter.c
+++ b/
src/modules/rlm_counter/rlm_counter.c
@@
-512,6
+512,7
@@
static int counter_instantiate(CONF_SECTION *conf, void **instance)
memcpy(&next_reset, time_datum.dptr, sizeof(time_t));
free(time_datum.dptr);
+ time_datum.dptr = NULL;
if (next_reset && next_reset <= now){
data->last_reset = now;