Stefan Berger 2b25ea3e15 tests: fix resource leak
Error: RESOURCE_LEAK:
/libvirt/tests/qemuxml2argvtest.c:47:
alloc_arg: Calling allocation function "virAlloc" on "ret".
/libvirt/src/util/memory.c:101:
alloc_fn: Storage is returned from allocation function "calloc".
/libvirt/src/util/memory.c:101:
var_assign: Assigning: "*((void **)ptrptr)" = "calloc(1UL, size)".
/libvirt/tests/qemuxml2argvtest.c:54:
leaked_storage: Variable "ret" going out of scope leaks the storage it points to.

(cherry picked from commit a01e67217c5e0a3fcba260e44c15b0fa94b47782)
2012-06-14 11:16:32 -04:00
..
2011-12-05 13:02:54 +01:00
2012-03-15 12:24:56 +08:00
2012-04-02 09:33:54 -06:00
2012-04-02 09:33:54 -06:00
2012-04-02 09:33:54 -06:00
2012-06-07 18:03:32 -04:00
2011-12-01 13:49:20 -07:00
2011-04-29 10:21:20 -06:00
2011-06-30 18:04:02 +01:00
2012-06-07 18:15:11 -04:00
2011-06-24 08:01:10 -06:00
2012-06-14 11:16:32 -04:00
2011-12-01 13:49:20 -07:00
2011-07-11 09:21:37 -06:00
2012-04-16 12:40:02 +01:00
2011-12-01 14:12:59 -07:00
2011-12-01 14:12:59 -07:00
2012-04-16 12:40:02 +01:00