From e2466334a07062ca9c7160c8487386e1743d982a Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 22 Mar 2010 22:01:31 +0100 Subject: s4:registry - "patchfile" - add another "W_ERROR_HAVE_NO_MEMORY" macro call --- source4/lib/registry/patchfile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/lib/registry') 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' ) { -- cgit