Jim Meyering <[EMAIL PROTECTED]> writes:
> This plugs a trivial leak in the test program:
>
> diff --git a/libparted/tests/label.c b/libparted/tests/label.c
> index ee6d0cd..32a8e9e 100644
> --- a/libparted/tests/label.c
> +++ b/libparted/tests/label.c
> @@ -40,6 +40,7 @@ START_TEST (test_create_label)
> disk = ped_disk_new_fresh(dev, type);
> fail_if(!disk, "Failed to create a label of
> type: %s",
> type->name);
> + ped_disk_destroy (disk);
> }
> }
> END_TEST
Ack.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: [EMAIL PROTECTED] UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel