mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-22 02:52:54 -05:00
cosmetics
This commit is contained in:
1 file changed
+2
-1
@@ -933,10 +933,11 @@ NTSTATUS _app_db_save_streamtofile (
|
||||
status = _app_db_encodebody (db_info, profile_type, &new_bytes);
|
||||
|
||||
if (NT_SUCCESS (status))
|
||||
{
|
||||
WriteFile (hfile, new_bytes->buffer, (ULONG)new_bytes->length, &unused, NULL);
|
||||
|
||||
if (new_bytes)
|
||||
_r_obj_dereference (new_bytes);
|
||||
}
|
||||
|
||||
NtClose (hfile);
|
||||
|
||||
|
||||
Reference in new issue
Block a user