From: Alan T. DeKok Date: Sat, 16 Mar 2013 18:02:41 +0000 (-0400) Subject: Use instance context for talloc X-Git-Tag: release_3_0_0_beta1~728 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a627b90f9005fc47dc7c3af7d924f28871d5572;p=thirdparty%2Ffreeradius-server.git Use instance context for talloc --- diff --git a/src/modules/rlm_ldap/rlm_ldap.c b/src/modules/rlm_ldap/rlm_ldap.c index d76632ef48c..fe57c4ff47f 100644 --- a/src/modules/rlm_ldap/rlm_ldap.c +++ b/src/modules/rlm_ldap/rlm_ldap.c @@ -712,7 +712,7 @@ static void *ldap_conn_create(void *ctx) } #endif /* HAVE_LDAP_START_TLS */ - conn = talloc(NULL, LDAP_CONN); + conn = talloc_zero(ctx, LDAP_CONN); conn->inst = inst; conn->handle = handle; conn->rebound = FALSE;