disk/geli: Add missing free.

Found by: Coverity scan.
This commit is contained in:
Vladimir Serbinenko 2015-01-24 21:47:51 +01:00
parent 6f43e350ed
commit 7656b72b17

View file

@ -232,7 +232,10 @@ grub_util_get_geli_uuid (const char *dev)
err = make_uuid ((void *) &hdr, uuid);
if (err)
return NULL;
{
grub_free (uuid);
return NULL;
}
return uuid;
}