summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/service.c b/source3/param/service.c
index 1545ef0171..358b7af2de 100644
--- a/source3/param/service.c
+++ b/source3/param/service.c
@@ -266,7 +266,7 @@ struct share_params *get_share_params(TALLOC_CTX *mem_ctx,
return NULL;
}
- if (!(result = TALLOC_P(mem_ctx, struct share_params))) {
+ if (!(result = talloc(mem_ctx, struct share_params))) {
DEBUG(0, ("talloc failed\n"));
return NULL;
}