On 09/20/2013 07:47 AM, Ján Tomko wrote:
> In case of an error, qemuMonitorTestNewSimple returns NULL.
> Error out instead of dereferencing it.
>
> Found by Coverity, reported by John Ferlan.
> ---
> Pushed as trivial.
>
> tests/qemumonitorjsontest.c | 6 ++
> 1 file changed, 6 insertions(+)
In case of an error, qemuMonitorTestNewSimple returns NULL.
Error out instead of dereferencing it.
Found by Coverity, reported by John Ferlan.
---
Pushed as trivial.
tests/qemumonitorjsontest.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tests/qemumonitorjsontest.c b/tests/qemumoni