From dc17292f1a097d3abd8c391315b661034ab1914e Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 22 Mar 2010 20:10:26 +0100 Subject: s4:registry - add more "W_ERROR_HAVE_NO_MEMORY" invocations (on talloc'ed stuff) --- source4/lib/registry/samba.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/lib/registry/samba.c') diff --git a/source4/lib/registry/samba.c b/source4/lib/registry/samba.c index fc59bdfdfa..b04dcc75cd 100644 --- a/source4/lib/registry/samba.c +++ b/source4/lib/registry/samba.c @@ -40,6 +40,7 @@ static WERROR mount_samba_hive(struct registry_context *ctx, location = talloc_asprintf(ctx, "%s/%s.ldb", lp_private_dir(lp_ctx), name); + W_ERROR_HAVE_NO_MEMORY(location); error = reg_open_hive(ctx, location, auth_info, creds, event_ctx, lp_ctx, &hive); -- cgit