summaryrefslogtreecommitdiff
path: root/source4/lib/registry/patchfile.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 22:01:31 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 22:31:08 +0100
commite2466334a07062ca9c7160c8487386e1743d982a (patch)
treebaf7f392b7df4c930f10499d73a7365f7bb978dc /source4/lib/registry/patchfile.c
parent8046cbe3c1b2a61081ef091398ec0ff2183e7a0d (diff)
downloadsamba-e2466334a07062ca9c7160c8487386e1743d982a.tar.gz
samba-e2466334a07062ca9c7160c8487386e1743d982a.tar.bz2
samba-e2466334a07062ca9c7160c8487386e1743d982a.zip
s4:registry - "patchfile" - add another "W_ERROR_HAVE_NO_MEMORY" macro call
Diffstat (limited to 'source4/lib/registry/patchfile.c')
-rw-r--r--source4/lib/registry/patchfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/registry/patchfile.c b/source4/lib/registry/patchfile.c
index c3395d4204..9ca00bd9b0 100644
--- a/source4/lib/registry/patchfile.c
+++ b/source4/lib/registry/patchfile.c
@@ -391,6 +391,7 @@ static WERROR reg_diff_apply_add_key(void *_ctx, const char *key_name)
/* Recursively create the path */
buf = talloc_strdup(ctx, key_name);
+ W_ERROR_HAVE_NO_MEMORY(buf);
buf_ptr = buf;
while (*buf_ptr++ != '\0' ) {