diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-22 22:01:31 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-22 22:31:08 +0100 |
commit | e2466334a07062ca9c7160c8487386e1743d982a (patch) | |
tree | baf7f392b7df4c930f10499d73a7365f7bb978dc /source4/lib | |
parent | 8046cbe3c1b2a61081ef091398ec0ff2183e7a0d (diff) | |
download | samba-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')
-rw-r--r-- | source4/lib/registry/patchfile.c | 1 |
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' ) { |