]> git.ipfire.org Git - thirdparty/libvirt.git/commit
fix errors in virReportSystemErrorFull
authorJim Meyering <meyering@redhat.com>
Tue, 27 Jan 2009 10:57:18 +0000 (10:57 +0000)
committerJim Meyering <meyering@redhat.com>
Tue, 27 Jan 2009 10:57:18 +0000 (10:57 +0000)
commite15147c14117333e780ef1b3d793fcb0dffa4607
tree95fc86bd95e2d8d54549fe5e320d0efff99ff626
parent4e8f63fdaa44e8d2b29a056caae105bcf15a0846
fix errors in virReportSystemErrorFull

* src/virterror.c (virStrerror): New function.
(virReportSystemErrorFull): Don't leak "combined".
In fact, don't even attempt allocation.
Do include the result of formatted print in final diagnostic.
ChangeLog
src/virterror.c