summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/talloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/include/talloc.h b/source4/include/talloc.h
index 204dd406b9..8c1a726778 100644
--- a/source4/include/talloc.h
+++ b/source4/include/talloc.h
@@ -47,7 +47,7 @@ char *talloc_asprintf_append(TALLOC_CTX *t, char *, const char *, ...)
PRINTF_ATTRIBUTE(3, 4);
/* useful macros for creating type checked pointers */
-#define talloc_p(ctx, type) (type *)talloc(ctx, sizeof(type));
+#define talloc_p(ctx, type) (type *)talloc(ctx, sizeof(type))
#define talloc_array_p(ctx, type, count) (type *)talloc_realloc_array(ctx, NULL, sizeof(type), count)
#define talloc_realloc_p(ctx, p, type, count) (type *)talloc_realloc_array(ctx, p, sizeof(type), count)