[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Leak corrections

From: K.G.
Subject: Leak corrections
Date: Wed, 3 Aug 2005 10:00:56 +0200


I've committed the attached patch and discovered that
range_start and range_end in parted.c probably need to
be freed too :

==7233== 56 bytes in 2 blocks are definitely lost in loss record 7 of 17
==7233==    at 0x1B90459D: malloc (vg_replace_malloc.c:130)
==7233==    by 0x8055E3C: ped_malloc (libparted.c:278)
==7233==    by 0x805490F: ped_geometry_new (geom.c:50)
==7233==    by 0x804FAE5: command_line_get_sector (ui.c:544)
==7233==    by 0x804C905: do_resize (parted.c:1156)
==7233==    by 0x804A06D: command_run (command.c:129)
==7233==    by 0x8050C3A: interactive_mode (ui.c:1046)
==7233==    by 0x804E23B: main (parted.c:1743)

Can somebody take care of that ?


Attachment: parted.leak.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]