Re: [libvirt] [PATCH] qemu_conf: Don't discard strdup OOM error

2013-04-25 Thread Osier Yang
On 25/04/13 19:37, Michal Privoznik wrote: After 78d7c3c5 we are strdup()-ing path to qemu-bridge-helper. However, the check for its return value is missing. So it is possible we've ignored the OOM error silently. --- src/qemu/qemu_conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[libvirt] [PATCH] qemu_conf: Don't discard strdup OOM error

2013-04-25 Thread Michal Privoznik
After 78d7c3c5 we are strdup()-ing path to qemu-bridge-helper. However, the check for its return value is missing. So it is possible we've ignored the OOM error silently. --- src/qemu/qemu_conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_conf.c b/src/qemu/