diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-22 20:10:26 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-22 22:31:05 +0100 |
commit | dc17292f1a097d3abd8c391315b661034ab1914e (patch) | |
tree | 06d2d052cc955005c3387095adbef42db819e293 /source4/lib/registry/samba.c | |
parent | 9c3e6249fd984b823a77cab0514601d2a487920a (diff) | |
download | samba-dc17292f1a097d3abd8c391315b661034ab1914e.tar.gz samba-dc17292f1a097d3abd8c391315b661034ab1914e.tar.bz2 samba-dc17292f1a097d3abd8c391315b661034ab1914e.zip |
s4:registry - add more "W_ERROR_HAVE_NO_MEMORY" invocations (on talloc'ed stuff)
Diffstat (limited to 'source4/lib/registry/samba.c')
-rw-r--r-- | source4/lib/registry/samba.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |