mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Free memory on error
Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 18 19:46:41 CEST 2013 on sn-devel-104
This commit is contained in:
parent
75f353b857
commit
887f4fbf43
@ -65,6 +65,7 @@ NTSTATUS libnet_FindSite(TALLOC_CTX *ctx, struct libnet_context *lctx, struct li
|
||||
if (ret != 0) {
|
||||
r->out.error_string = NULL;
|
||||
status = map_nt_error_from_unix_common(errno);
|
||||
talloc_free(tmp_ctx);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user