mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
ntdll-FileDispositionInformation: Avoid 'return NULL' in void function.
This commit is contained in:
parent
2b90f82b6a
commit
44a9c0cc8a
@ -325,7 +325,7 @@ index 553d840..d4e5321 100644
|
||||
+ set_error( STATUS_OBJECT_TYPE_MISMATCH );
|
||||
+ return;
|
||||
+ }
|
||||
+ if (!(name = mem_alloc( len + 1 ))) return NULL;
|
||||
+ if (!(name = mem_alloc( len + 1 ))) return;
|
||||
+ memcpy( name, nameptr, len );
|
||||
+ name[len] = 0;
|
||||
+
|
||||
|
Loading…
x
Reference in New Issue
Block a user