From: Arran Cudbard-Bell Date: Sun, 27 Nov 2016 00:11:13 +0000 (-0500) Subject: Set thread instance data name correctly X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9fe1c0598c1abc6caa2ece3c46ee90363c3468f;p=thirdparty%2Ffreeradius-server.git Set thread instance data name correctly --- diff --git a/src/main/modules.c b/src/main/modules.c index 449f14d8673..e903f55f783 100644 --- a/src/main/modules.c +++ b/src/main/modules.c @@ -561,7 +561,7 @@ static int _module_thread_instantiate(void *instance, void *ctx) * Fixup the type name, incase something calls * talloc_get_type_abort() on it... */ - MEM(type_name = talloc_asprintf(NULL, "%s_thread_t", inst->name)); + MEM(type_name = talloc_asprintf(NULL, "rlm_%s_thread_t", inst->name)); talloc_set_name(thread_inst->data, "%s", type_name); talloc_free(type_name);