summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/gums_helper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/sam/gums_helper.c b/source3/sam/gums_helper.c
index 15486d094c..5bbd054be1 100644
--- a/source3/sam/gums_helper.c
+++ b/source3/sam/gums_helper.c
@@ -173,7 +173,6 @@ NTSTATUS gums_make_domain(DOM_SID *sid, const char *name, const char *descriptio
ret = fns->set_object(go);
-done:
gums_destroy_object(&go);
return ret;
}
@@ -208,7 +207,6 @@ NTSTATUS gums_make_alias(DOM_SID *sid, const char *name, const char *description
ret = fns->set_object(go);
-done:
gums_destroy_object(&go);
return ret;
}