OSDN Git Service

plug leaks in gpt_write
authorJim Meyering <meyering@redhat.com>
Thu, 29 May 2008 18:47:44 +0000 (20:47 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 31 May 2008 14:41:24 +0000 (16:41 +0200)
commit88b1ba525ee65d527f408363041e143c6a1d1b35
tree20c724e8d8a3fd713a8d66c691e836a9980ff6b0
parent1a7052ba77905fdfa036fc800bce7a2fb8de7d69
plug leaks in gpt_write

* libparted/labels/gpt.c (gpt_write):
6,674 bytes in 11 blocks are definitely lost...
  at 0x4A0739E: malloc (vg_replace_malloc.c:207)
  by 0x416F1B: ped_malloc (libparted.c:270)
  by 0x43E76D: pth_new (gpt.c:289)
  by 0x43E7E2: pth_new_zeroed (gpt.c:298)
  by 0x43FF61: _generate_header (gpt.c:970)
  by 0x440434: gpt_write (gpt.c:1074)
  by 0x418F9A: ped_disk_commit_to_dev (disk.c:486)
  by 0x418FE0: ped_disk_commit (disk.c:509)
  by 0x40BB35: do_mkpartfs (parted.c:990)
libparted/labels/gpt.c