]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
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:46:17 +0000 (17:46 +0200)
src/modules/rlm_counter/rlm_counter.c

index 45c70f6284524a9a8fe6e3fb7fdd7a970b7d22b9..137ad446d687bcb5d833ab9232a34b08a0fea3d4 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;