OSDN Git Service

gpt: don't dereference NULL upon OOM (in pth_get_raw)
authorJim Meyering <meyering@redhat.com>
Thu, 22 Oct 2009 19:34:48 +0000 (21:34 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 23 Oct 2009 16:09:42 +0000 (18:09 +0200)
commite34b263f5504de3f6c518fc3ece99957d5e81f68
tree0977165205b070b1d1ba2b289ad63ec7bb4f87f8
parenta55db4f3741a1042026f23bfd2221483690ce2cd
gpt: don't dereference NULL upon OOM (in pth_get_raw)

* libparted/labels/gpt.c (pth_get_raw): Don't dereference NULL
on out of memory error.
libparted/labels/gpt.c