Andrei Borzenkov 03f1f24e37 grub-probe: restructure code to make static analysis easier
Current code in probe() could not be verified to not contain memory leaks.
Restructure code and ensure grub_device_close is always called at the end of
loop.

Calms down Coverity scan.
CID: 73739
2015-06-19 20:47:43 +03:00
..
2010-09-15 14:46:53 +02:00
2013-12-21 13:47:27 +01:00
2015-03-04 01:00:19 +01:00
2015-03-04 01:00:19 +01:00
2015-03-04 01:00:19 +01:00
2013-11-07 06:35:50 +01:00
2015-01-26 09:56:24 +01:00
2015-03-04 01:00:19 +01:00
2015-01-30 22:57:39 +03:00