Pavel Hrdina 67fbf129fc Fix possible memory leak in util/virxml.c
A "xmlstr" string may not be assigned into a "doc" pointer and it
could cause memory leak. To fix it if the "doc" pointer is NULL and
the "xmlstr" string is not assigned we should free it.

This has been found by coverity.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2014-01-15 11:11:34 +01:00
..
2013-10-21 14:03:52 +01:00
2013-02-12 09:00:15 -07:00
2014-01-02 07:29:54 -07:00
2013-11-28 11:49:01 +00:00
2013-11-20 12:35:47 +01:00
2013-12-24 17:36:47 +01:00
2013-12-24 17:36:47 +01:00
2013-11-20 09:14:55 -07:00
2014-01-08 23:00:34 +08:00
2014-01-08 23:00:34 +08:00
2013-10-21 14:03:52 +01:00
2013-04-12 16:55:45 -04:00
2014-01-08 23:00:34 +08:00
2014-01-08 23:00:34 +08:00