1
0
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:
Andrew Bartlett
2005-12-28 22:43:12 +00:00
committed by Gerald (Jerry) Carter
parent a83a38eab2
commit b1c8adcfe1

View File

@@ -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);
}