]> git.ipfire.org Git - thirdparty/libvirt.git/commit
sexpr_string: avoid leak on OOM error path
authorJim Meyering <meyering@redhat.com>
Thu, 4 Feb 2010 16:55:15 +0000 (17:55 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 5 Feb 2010 08:36:09 +0000 (09:36 +0100)
commita7e80e6bfd563919bc52cf1985259166f1c191e9
tree81fd584583f54e9c2608daa87267974f376f8f5e
parent04ebf058d506c2a1a4bb1754726558410ff79270
sexpr_string: avoid leak on OOM error path

* src/xen/sexpr.c (sexpr_string): Free sexpr buffer upon allocation
failure.
src/xen/sexpr.c