summaryrefslogtreecommitdiffstats
path: root/server/util
diff options
context:
space:
mode:
Diffstat (limited to 'server/util')
-rw-r--r--server/util/memory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/util/memory.c b/server/util/memory.c
index e73fd0169..cf6532607 100644
--- a/server/util/memory.c
+++ b/server/util/memory.c
@@ -9,18 +9,18 @@
*/
TALLOC_CTX *talloc_takeover(TALLOC_CTX *mem_ctx, void *ptr, int (*destructor)(void **)) {
void **handle;
-
+
if (ptr == NULL) {
return NULL;
}
-
+
handle = talloc_named_const(mem_ctx, sizeof(void *), "void *");
if (handle == NULL) {
return NULL;
}
-
+
*handle = ptr;
talloc_set_destructor(handle,destructor);
-
+
return handle;
} \ No newline at end of file