Skip to content

Commit

Permalink
[sgen] Fix coverity issue (dotnet#34629)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrzVlad authored Apr 7, 2020
1 parent caab744 commit 6a5349f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/metadata/sgen-mono.c
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ mono_gc_alloc_pinned_vector (MonoVTable *vtable, size_t size, uintptr_t max_leng
if (!SGEN_CAN_ALIGN_UP (size))
return NULL;

arr = (MonoArray*)sgen_alloc_obj_pinned (vtable, size); (vtable, size);
arr = (MonoArray*)sgen_alloc_obj_pinned (vtable, size);
if (G_UNLIKELY (!arr))
return NULL;

Expand Down

0 comments on commit 6a5349f

Please sign in to comment.