Re: [libvirt] [PATCH] util: don't free dmidecode path string before printing it

2012-09-19 Thread Eric Blake
On 09/19/2012 05:59 AM, Jiri Denemark wrote: > On Tue, Sep 18, 2012 at 17:33:57 -0600, Eric Blake wrote: >> On 09/18/2012 04:57 AM, Ján Tomko wrote: >>> The path was freed before printing the error message, resulting in: >>> error : virSysinfoRead:773 : internal error Failed to execute command >>>

Re: [libvirt] [PATCH] util: don't free dmidecode path string before printing it

2012-09-19 Thread Jiri Denemark
On Tue, Sep 18, 2012 at 17:33:57 -0600, Eric Blake wrote: > On 09/18/2012 04:57 AM, Ján Tomko wrote: > > The path was freed before printing the error message, resulting in: > > error : virSysinfoRead:773 : internal error Failed to execute command > > (null) > > --- > > src/util/sysinfo.c |2 +-

Re: [libvirt] [PATCH] util: don't free dmidecode path string before printing it

2012-09-18 Thread Eric Blake
On 09/18/2012 04:57 AM, Ján Tomko wrote: > The path was freed before printing the error message, resulting in: > error : virSysinfoRead:773 : internal error Failed to execute command > (null) > --- > src/util/sysinfo.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) While this fixes

[libvirt] [PATCH] util: don't free dmidecode path string before printing it

2012-09-18 Thread Ján Tomko
The path was freed before printing the error message, resulting in: error : virSysinfoRead:773 : internal error Failed to execute command (null) --- src/util/sysinfo.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/util/sysinfo.c b/src/util/sysinfo.c index 92c3539..8