1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r17867: Fix null deref in error code path. Found by the

Stanford checker.
Jeremy.
(This used to be commit 09652dc71c)
This commit is contained in:
Jeremy Allison 2006-08-28 02:29:36 +00:00 committed by Gerald (Jerry) Carter
parent 767820e462
commit 5f925a0190

View File

@ -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;
}