1. 25 9月, 2018 39 次提交
  2. 24 9月, 2018 1 次提交
    • J
      lxc: Resolve memory leak · 996f1014
      John Ferlan 提交于
      Commit 40b5c99a modified the virConfGetValue callers to use
      virConfGetValueString. However, using the virConfGetValueString
      resulted in leaking the returned @value string in each case.
      So, let's modify each instance to use the VIR_AUTOFREE(char *)
      syntax. In some instances changing the variable name since
      @value was used more than once.
      
      Found by Coverity
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      996f1014