]> git.proxmox.com Git - mirror_lxc.git/commit
memory_utils: add call_cleaner() helper
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 15 Mar 2020 00:28:22 +0000 (01:28 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 15 Mar 2020 00:37:57 +0000 (01:37 +0100)
commite16ad728f827f87175918cc3cfa6e67f46a3acd1
treea7aa9c64cefa8388bc40a19bec57eb0c3715f63a
parent2b1ec4b99987ffd6fb9f03b8c09e381e1a9c2b01
memory_utils: add call_cleaner() helper

This allows to trivially declare cleanup attributes on the fly.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/memory_utils.h