[lxc-devel] [lxc/lxc] 240a13: storage: prevent unitialized variable warning

Stéphane Graber noreply at github.com
Sun Apr 14 18:07:36 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 240a130f67006b3e5dcbf0df0be383617d6dba03
      https://github.com/lxc/lxc/commit/240a130f67006b3e5dcbf0df0be383617d6dba03
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-04-14 (Sun, 14 Apr 2019)

  Changed paths:
    M src/lxc/storage/btrfs.c

  Log Message:
  -----------
  storage: prevent unitialized variable warning

We can simply fix this issue by switching to our cleanup macros instead of
manually freeing the memory.

Closes #2912.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 90912571af2ff47c64bf8d5c850ffeec43d62c71
      https://github.com/lxc/lxc/commit/90912571af2ff47c64bf8d5c850ffeec43d62c71
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2019-04-14 (Sun, 14 Apr 2019)

  Changed paths:
    M src/lxc/storage/btrfs.c

  Log Message:
  -----------
  Merge pull request #2937 from brauner/2019-04-14/issue_2912

storage: prevent unitialized variable warning


Compare: https://github.com/lxc/lxc/compare/49ce8186e6b8...90912571af2f


More information about the lxc-devel mailing list