Quiet compiler warning
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 Oct 2011 15:46:17 +0000 (17:46 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 Oct 2011 15:47:55 +0000 (17:47 +0200)
src/modules/rlm_counter/rlm_counter.c

index d5ed5d2..cf884e0 100644 (file)
@@ -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;