mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
registrybackend: close the key only if successfully opened
This commit is contained in:
@@ -1281,8 +1281,9 @@ registry_cache_update (GRegistryBackend *self,
|
||||
n_watches, changes);
|
||||
child_item = subkey_node->data;
|
||||
child_item->touched = TRUE;
|
||||
|
||||
RegCloseKey (hsubpath);
|
||||
}
|
||||
RegCloseKey (hsubpath);
|
||||
}
|
||||
|
||||
if (result != ERROR_NO_MORE_ITEMS)
|
||||
|
Reference in New Issue
Block a user