1. 25 5月, 2020 2 次提交
  2. 22 5月, 2020 1 次提交
    • M
      testCompareXMLToArgvValidateSchema: Construct @vm from scratch · 69daa2ea
      Michal Privoznik 提交于
      Currently, the @vm is passed in as an argument and
      testCompareXMLToArgvCreateArgs() is called over it which means
      under the hood qemuProcessPrepareDomain() is called. But at the
      point where ValidateSchema() is called, the domain object is
      already 'prepared', i.e. all device aliases are assigned and so
      on. But our code is not prepared to 'prepare' a domain twice - it
      simply overwrites all the pointers leading to a memory leak.
      
      Fortunately, this is only the problem of this test.
      
      Resolve this by constructing the domain object from scratch.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NPeter Krempa <pkrempa@redhat.com>
      69daa2ea
  3. 20 5月, 2020 25 次提交
  4. 18 5月, 2020 1 次提交
  5. 14 5月, 2020 1 次提交
  6. 13 5月, 2020 4 次提交
  7. 12 5月, 2020 6 次提交