OSDN Git Service

gpt: don't leak a constraint upon partition-add failure
authorJim Meyering <meyering@redhat.com>
Fri, 15 Jan 2010 18:53:36 +0000 (19:53 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 15 Jan 2010 18:53:36 +0000 (19:53 +0100)
commitd0cec198183be0b9989e4bc729c2930c7cdfe545
tree3a97de973694f8e52a61f970139ef6a0c83e9632
parent952e4919befce199b096fd1bbde93ef7902239d3
gpt: don't leak a constraint upon partition-add failure

* libparted/labels/gpt.c (gpt_read): Free constraint upon failure.
libparted/labels/gpt.c