git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a83a38e
)
r12553: Steal the error string onto this context, so that the caller doesn't
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 28 Dec 2005 22:43:12 +0000
(22:43 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:47:57 +0000
(13:47 -0500)
have to think about exactly what the right context to hang it of is.
Andrew Bartlett
source/lib/ldb/common/ldb_modules.c
patch
|
blob
|
history
diff --git
a/source/lib/ldb/common/ldb_modules.c
b/source/lib/ldb/common/ldb_modules.c
index 7f8844137cb142162699965f5813911cb8083086..4c483b7afb2cf6ad50fa567380c8b470a7839aac 100644
(file)
--- a/
source/lib/ldb/common/ldb_modules.c
+++ b/
source/lib/ldb/common/ldb_modules.c
@@
-260,6
+260,6
@@
void ldb_set_errstring(struct ldb_module *module, char *err_string)
talloc_free(module->ldb->err_string);
}
- module->ldb->err_string =
err_string
;
+ module->ldb->err_string =
talloc_steal(module->ldb, err_string)
;
}