Darren Kenny 1fc860bb76 commands/probe: Fix a resource leak when probing disks
Every other return statement in this code is calling grub_device_close()
to clean up dev before returning. This one should do that too.

Fixes: CID 292443

Signed-off-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2021-03-02 15:54:17 +01:00
..
2013-12-21 03:03:31 +01:00
2021-03-02 15:54:15 +01:00
2019-02-25 14:02:05 +01:00
2015-01-24 20:52:02 +01:00
2021-03-02 15:54:17 +01:00
2019-04-09 10:03:29 +10:00
2015-12-15 10:25:34 +03:00
2020-07-29 16:55:47 +02:00
2019-04-09 10:03:29 +10:00
2020-07-29 16:55:47 +02:00
2019-04-09 10:03:29 +10:00
2012-02-12 15:25:25 +01:00