From: Alan T. DeKok Date: Tue, 16 Jan 2018 21:04:39 +0000 (-0500) Subject: const issues X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=355b52d0eecc927511a6028cac8561f2bf86ec73;p=thirdparty%2Ffreeradius-server.git const issues --- diff --git a/src/modules/proto_radius/track.c b/src/modules/proto_radius/track.c index cfd3f356748..2b101dc682e 100644 --- a/src/modules/proto_radius/track.c +++ b/src/modules/proto_radius/track.c @@ -68,7 +68,7 @@ static void entry_free(void *data) { fr_tracking_entry_t *entry = data; - if (entry->ev) talloc_free(entry->ev); + if (entry->ev) talloc_const_free(entry->ev); talloc_free(entry); }