Skip to content

Commit 99602d3

Browse files
Update compiler-rt/lib/profile/InstrProfilingUtil.c
Co-authored-by: Hubert Tong <[email protected]>
1 parent ee17bfa commit 99602d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/profile/InstrProfilingUtil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ void lprofReleaseBuffer(ManagedMemory *Buf, size_t Length) {
372372
free(Buf->Addr);
373373
break;
374374
case MM_MMAP:
375-
munmap(Buf->Addr, Length);
375+
(void)munmap(Buf->Addr, Length);
376376
break;
377377
default:
378378
PROF_ERR("%s: Buffer has invalid state: %d\n", __func__, Buf->Status);

0 commit comments

Comments
 (0)