Skip to content

Commit

Permalink
vsc: Missing check for VSM_Unmap()'s result
Browse files Browse the repository at this point in the history
  • Loading branch information
dridi committed Jul 3, 2024
1 parent 1838828 commit 1cfa4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libvarnishapi/vsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ vsc_map_seg(const struct vsc *vsc, struct vsm *vsm, struct vsc_seg *sp)
usleep(10000);

if (head->ready == 0) {
VSM_Unmap(vsm, sp->fantom);
AZ(VSM_Unmap(vsm, sp->fantom));
return (-1);
}

Expand Down

0 comments on commit 1cfa4e6

Please sign in to comment.