diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-07-04 20:04:28 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-07-04 22:05:17 +0200 |
commit | b0bba4003e928cdf0540047d6e4b7659cb0ac765 (patch) | |
tree | 6e081ebf9f77c54b434252bdb2237ad0cfd7afd9 /source4/libnet/libnet_group.c | |
parent | 05237dca11b902104e271120a31a8a3114b35cc4 (diff) | |
download | samba-b0bba4003e928cdf0540047d6e4b7659cb0ac765.tar.gz |
s4:libnet - add missing "talloc_free"s for "c" contexts on "recv" operations
Diffstat (limited to 'source4/libnet/libnet_group.c')
-rw-r--r-- | source4/libnet/libnet_group.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libnet/libnet_group.c b/source4/libnet/libnet_group.c index f0986675556..8c88aa38bb3 100644 --- a/source4/libnet/libnet_group.c +++ b/source4/libnet/libnet_group.c @@ -147,6 +147,7 @@ NTSTATUS libnet_CreateGroup_recv(struct composite_context *c, r->out.error_string = talloc_strdup(mem_ctx, nt_errstr(status)); } + talloc_free(c); return status; } @@ -408,7 +409,6 @@ NTSTATUS libnet_GroupInfo_recv(struct composite_context* c, TALLOC_CTX *mem_ctx, } talloc_free(c); - return status; } @@ -731,6 +731,7 @@ NTSTATUS libnet_GroupList_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, io->out.error_string = talloc_asprintf(mem_ctx, "Error: %s", nt_errstr(status)); } + talloc_free(c); return status; } |