diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/registry/reg_backend_db.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 7513b3b263..44a60cf030 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -1018,6 +1018,10 @@ bool regdb_store_values( const char *key, REGVAL_CTR *values ) DEBUG(10,("regdb_store_values: Looking for value of key [%s] \n", key)); + if (!regdb_key_exists(key)) { + goto done; + } + ZERO_STRUCT(data); len = regdb_pack_values(values, data.dptr, data.dsize); |