[parted-devel] plug a ui-leak

Otavio Salvador otavio at debian.org
Thu Mar 8 23:25:18 CET 2007


Jim Meyering <jim at meyering.net> writes:

> This is trivial:
>
> 	* parted/ui.c (non_interactive_mode): Plug a tiny leak.
> 	Exercise by running the following with a CD-ROM in the drive:
> 	valgrind --leak-check=full parted/parted /dev/cdrom print
> 	Before, we'd leak the 6-byte command: "print\0".

Ack.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      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."



More information about the parted-devel mailing list