Commit b1af31b4 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Fix a memory leak.

parent 2683be09
......@@ -1142,6 +1142,7 @@ NTSTATUS CDECL get_dynamic_environment( WCHAR *env, SIZE_T *size )
}
else status = STATUS_BUFFER_TOO_SMALL;
*size = pos + 1;
free( buffer );
return status;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment