git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
389eada
)
s3:idmap_autorid: in initialize, don't leak storedconfig to talloc_tos() in the succe...
author
Michael Adam
<obnox@samba.org>
Thu, 9 Jun 2011 22:49:37 +0000
(
00:49
+0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 20 Jun 2011 11:46:27 +0000
(13:46 +0200)
source3/winbindd/idmap_autorid.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_autorid.c
b/source3/winbindd/idmap_autorid.c
index ef6c524f9bc187f0fa03382ea53e9ae79d37d142..ab533d97f18b18a843fe784b29b9f908fc354f6b 100644
(file)
--- a/
source3/winbindd/idmap_autorid.c
+++ b/
source3/winbindd/idmap_autorid.c
@@
-534,10
+534,12
@@
static NTSTATUS idmap_autorid_initialize(struct idmap_domain *dom)
goto error;
}
-
return NT_STATUS_OK
;
+
goto done
;
-
error:
+error:
talloc_free(config);
+
+done:
talloc_free(storedconfig);
return status;