From: Alan T. DeKok Date: Fri, 19 Nov 2021 15:50:31 +0000 (-0500) Subject: doesn't hurt to free this X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aef5d5efd0cb3360fc381106e0df27b4d674350d;p=thirdparty%2Ffreeradius-server.git doesn't hurt to free this --- diff --git a/src/modules/rlm_sqlippool/rlm_sqlippool.c b/src/modules/rlm_sqlippool/rlm_sqlippool.c index 9bffb266acb..c36c0a52ceb 100644 --- a/src/modules/rlm_sqlippool/rlm_sqlippool.c +++ b/src/modules/rlm_sqlippool/rlm_sqlippool.c @@ -639,6 +639,7 @@ static unlang_action_t CC_HINT(nonnull) mod_alloc(rlm_rcode_t *p_result, module_ if (fr_pair_value_from_str(vp, allocation, allocation_len, NULL, true) < 0) { DO_PART(alloc_commit); + talloc_free(vp); RDEBUG2("Invalid IP number [%s] returned from instbase query.", allocation); fr_pool_connection_release(inst->sql_inst->pool, request, handle); return do_logging(p_result, inst, request, inst->log_failed, RLM_MODULE_NOOP);