* grub-core/disk/diskfilter.c (free_array) [GRUB_UTIL]: Fix memory leak.

* util/getroot.c (grub_find_device): Likewise.
	(get_mdadm_uuid): Likewise.
	(grub_util_is_imsm): Likewise.
	(grub_util_pull_device): Likewise.
	* util/grub-probe.c (probe): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-09-11 07:53:26 +02:00
parent 801a3027be
commit 592fd0e4d6
4 changed files with 24 additions and 2 deletions

View file

@ -474,6 +474,7 @@ probe (const char *path, char **device_names, char delim)
printf ("%s", label);
putchar (delim);
}
grub_device_close (dev);
goto end;
}