summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_share.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/libnet/libnet_share.c b/source4/libnet/libnet_share.c
index 702cde6c77..842fd24fe7 100644
--- a/source4/libnet/libnet_share.c
+++ b/source4/libnet/libnet_share.c
@@ -113,7 +113,6 @@ NTSTATUS libnet_AddShare(struct libnet_context *ctx,
r->in.server_name, nt_errstr(status));
}
-disconnect:
talloc_free(c.standard.out.dcerpc_pipe);
return status;
@@ -153,7 +152,6 @@ NTSTATUS libnet_DelShare(struct libnet_context *ctx,
r->in.server_name, nt_errstr(status));
}
-disconnect:
talloc_free(c.standard.out.dcerpc_pipe);
return status;