mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
Update openbsd.cc (#323)
This commit is contained in:
parent
6c4c28672f
commit
774afe202b
@ -117,6 +117,7 @@ static int swapmode(int *used, int *total)
|
||||
|
||||
rnswap = swapctl(SWAP_STATS, swdev, nswap);
|
||||
if (rnswap == -1) {
|
||||
free(swdev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user