ntdll-FileDispositionInformation: Avoid 'return NULL' in void function.

This commit is contained in:
Sebastian Lackner 2015-06-09 14:44:06 +02:00
parent 2b90f82b6a
commit 44a9c0cc8a

View File

@ -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;
+