Don't dereference or free undefined "msg" upon OOM.
authorJim Meyering <meyering@redhat.com>
Wed, 1 Jul 2009 13:45:01 +0000 (15:45 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 1 Jul 2009 14:30:46 +0000 (16:30 +0200)
commit202e11543ead0d21a8485879654c927ec95ea7f0
treede49e943c99a675777b4cf7ffca638f1e40b3619
parente909c5e31f6b60e68220177b5cd5e81cfacb8d0d
Don't dereference or free undefined "msg" upon OOM.

* src/guestfs.c (guestfs_error): Handle failing vasprintf.
src/guestfs.c