mirror of
https://github.com/opnsense/src.git
synced 2026-02-23 18:00:31 -05:00
geom_gettree probably never fails, and if it does there isn't much of a fallback other than aborting partitioning. However, a few places were checking the return value and not doing anything with it triggering a unused-but-set-variable warning. Checking the errors resolves the warning. While here, check for errors in other places that weren't checking for them at all, remove a spurious double call (the second call overwrote the mesh structure leaking all the pointers from the first), and close a few resource leaks on error paths. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D40779 |
||
|---|---|---|
| .. | ||
| diskmenu.c | ||
| diskmenu.h | ||
| gpart_ops.c | ||
| Makefile | ||
| Makefile.depend | ||
| part_wizard.c | ||
| partedit.c | ||
| partedit.h | ||
| partedit_efi.c | ||
| partedit_generic.c | ||
| partedit_powerpc.c | ||
| partedit_x86.c | ||
| sade.8 | ||
| scripted.c | ||