[lxc/lxc] 565540: lvm.c: make sure tp gets freed

0 views
Skip to first unread message

Stéphane Graber

unread,
Apr 28, 2026, 10:12:51 AMApr 28
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/main
Home: https://github.com/lxc/lxc
Commit: 5655409842ca8519c04f8f4a0ad4fa02f5da97ad
https://github.com/lxc/lxc/commit/5655409842ca8519c04f8f4a0ad4fa02f5da97ad
Author: Serge Hallyn <se...@hallyn.com>
Date: 2026-04-28 (Tue, 28 Apr 2026)

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

Log Message:
-----------
lvm.c: make sure tp gets freed

tp is __do_free. However, when we detect that it is not a thinpool,
we set it to NULL, so that it can't get freed on exit.

coverity id 1461741

Signed-off-by: Serge Hallyn <se...@hallyn.com>


Commit: 16fc0e426b0ed0a4fd6ddc6fc109c93417134b38
https://github.com/lxc/lxc/commit/16fc0e426b0ed0a4fd6ddc6fc109c93417134b38
Author: Stéphane Graber <stgr...@stgraber.org>
Date: 2026-04-28 (Tue, 28 Apr 2026)

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

Log Message:
-----------
Merge pull request #4676 from hallyn/2026-04-28/tp

lvm.c: make sure tp gets freed


Compare: https://github.com/lxc/lxc/compare/f5c6aadbd3f9...16fc0e426b0e

To unsubscribe from these emails, change your notification settings at https://github.com/lxc/lxc/settings/notifications
Reply all
Reply to author
Forward
0 new messages