mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
r12553: Steal the error string onto this context, so that the caller doesn't
have to think about exactly what the right context to hang it of is. Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
a83a38eab2
commit
b1c8adcfe1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user