[lxc-devel] [lxc/lxc] e99fac: Revert "coverity-detected bug: don't free "/""

GitHub noreply at github.com
Mon Dec 23 18:33:04 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: e99faceca00e0d42568937929bfafb147f49a5b0
      https://github.com/lxc/lxc/commit/e99faceca00e0d42568937929bfafb147f49a5b0
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-12-23 (Mon, 23 Dec 2013)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Revert "coverity-detected bug: don't free "/""

This reverts commit 5cad2f04bec614a84e872f68697b5092a409d5a1.


  Commit: 6ed46d9ea77c4dd57acb70bec1766edb1f2edbc1
      https://github.com/lxc/lxc/commit/6ed46d9ea77c4dd57acb70bec1766edb1f2edbc1
  Author: Andrey Mazo <mazo at telum.ru>
  Date:   2013-12-23 (Mon, 23 Dec 2013)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Fix invalid free() in lxc_global_config_value().

Commit 4878dac496543dae0a26f5c1156bbfda63c8ea62 introduced possible
incorrect usage of free().
Also remove unneeded strdup().

Signed-off-by: Andrey Mazo <mazo at telum.ru>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/916643522fa9...6ed46d9ea77c


More information about the lxc-devel mailing list