summaryrefslogtreecommitdiff
path: root/source3/smbd/perfcount.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/perfcount.c')
-rw-r--r--source3/smbd/perfcount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/perfcount.c b/source3/smbd/perfcount.c
index 1561893758..a7c268a2fe 100644
--- a/source3/smbd/perfcount.c
+++ b/source3/smbd/perfcount.c
@@ -176,7 +176,7 @@ bool smb_perfcount_init(void)
{
char *perfcount_object;
- perfcount_object = lp_perfcount_module();
+ perfcount_object = lp_perfcount_module(talloc_tos());
/* don't init */
if (!perfcount_object || !perfcount_object[0])