Skip to content

Commit 8cff728

Browse files
committed
Free device list on exit.
1 parent 99a97a2 commit 8cff728

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/partinfo.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@ int main(int argc, char **argv)
4747
part = NULL;
4848
ped_disk_destroy(disk);
4949
}
50+
ped_device_free_all();
5051
return 0;
5152
}

0 commit comments

Comments
 (0)