1. 16 6月, 2020 4 次提交
  2. 15 6月, 2020 3 次提交
  3. 10 6月, 2020 13 次提交
  4. 05 6月, 2020 1 次提交
  5. 04 6月, 2020 1 次提交
  6. 26 5月, 2020 4 次提交
  7. 25 5月, 2020 5 次提交
  8. 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
  9. 20 5月, 2020 8 次提交