]> git.sur5r.net Git - u-boot/blobdiff - disk/part_efi.c
ARM: IGEP0033: rename config file to am335x_igep0033.h
[u-boot] / disk / part_efi.c
index b7524d68ba05b570e2286aeb208e2e15ab030f38..9c33ae7a3174b37854ac5368628cf09e9e379bf0 100644 (file)
@@ -164,8 +164,9 @@ int get_partition_info_efi(block_dev_desc_t * dev_desc, int part,
 
        if (part > le32_to_cpu(gpt_head->num_partition_entries) ||
            !is_pte_valid(&gpt_pte[part - 1])) {
-               printf("%s: *** ERROR: Invalid partition number %d ***\n",
+               debug("%s: *** ERROR: Invalid partition number %d ***\n",
                        __func__, part);
+               free(gpt_pte);
                return -1;
        }