diff options
-rw-r--r-- | source3/registry/reg_objects.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c index 2a898f0170..1bd3ac9bd9 100644 --- a/source3/registry/reg_objects.c +++ b/source3/registry/reg_objects.c @@ -182,6 +182,7 @@ REGISTRY_VALUE* dup_registry_value( REGISTRY_VALUE *val ) DEBUG(0,("dup_registry_value: memdup() failed for [%d] bytes!\n", val->size)); SAFE_FREE( copy ); + return NULL; } copy->size = val->size; } |