From: Alan T. DeKok Date: Wed, 19 Oct 2011 15:46:17 +0000 (+0200) Subject: Quiet compiler warning X-Git-Tag: release_3_0_0_beta0~554 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=291c340472ecdeff1c472d157afa40aa20a59af6;p=thirdparty%2Ffreeradius-server.git Quiet compiler warning --- diff --git a/src/modules/rlm_counter/rlm_counter.c b/src/modules/rlm_counter/rlm_counter.c index d5ed5d25791..cf884e03c61 100644 --- 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;