OSDN Git Service

plug a leak in gpt_read
authorJim Meyering <meyering@redhat.com>
Thu, 29 May 2008 18:38:13 +0000 (20:38 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 31 May 2008 14:41:07 +0000 (16:41 +0200)
commit1a7052ba77905fdfa036fc800bce7a2fb8de7d69
tree4774b4f4207dd045d06e4dfd68a09f55b81da82a
parent9edcca96a2b53d8fd4da32d881888d7bcb95a043
plug a leak in gpt_read

* libparted/labels/gpt.c (gpt_read):
7,195 bytes in 13 blocks are definitely lost...
   at 0x4A0739E: malloc (vg_replace_malloc.c:207)
   by 0x416F1B: ped_malloc (libparted.c:270)
   by 0x43E759: pth_new (gpt.c:287)
   by 0x43E83C: pth_new_from_raw (gpt.c:310)
   by 0x43F329: _read_header (gpt.c:627)
   by 0x43FB31: gpt_read (gpt.c:826)
   by 0x41882B: ped_disk_new (disk.c:210)
   by 0x40B773: do_mkpartfs (parted.c:884)
   by 0x40A055: command_run (command.c:139)
libparted/labels/gpt.c