diff options
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c index 16fb7dd18d..c8dc633087 100644 --- a/source3/registry/reg_objects.c +++ b/source3/registry/reg_objects.c @@ -113,7 +113,7 @@ void regsubkey_ctr_destroy( REGSUBKEY_CTR *ctr ) void regval_ctr_init( REGVAL_CTR *ctr ) { - if ( !ctr->ctx ) + if ( ctr && !ctr->ctx ) ctr->ctx = talloc_init("regval_ctr_init for ctr %p", ctr); } |