From: Arran Cudbard-Bell Date: Sat, 30 Jun 2018 14:31:36 +0000 (-0400) Subject: Parent the main config for radsniff from the autofree context X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab33a51b84169a4feb0dad1ef7bf3cc752019792;p=thirdparty%2Ffreeradius-server.git Parent the main config for radsniff from the autofree context --- diff --git a/src/main/radsniff.c b/src/main/radsniff.c index eb6a730df7b..cf0a6fd6480 100644 --- a/src/main/radsniff.c +++ b/src/main/radsniff.c @@ -2220,7 +2220,7 @@ int main(int argc, char *argv[]) talloc_set_log_stderr(); - conf = talloc_zero(NULL, rs_t); + conf = talloc_zero(autofree, rs_t); RS_ASSERT(conf); stats = talloc_zero(conf, rs_stats_t);