]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: fix memory leak related to stat_error_class
authorMasatake YAMATO <yamato@redhat.com>
Sat, 29 Nov 2025 19:10:46 +0000 (04:10 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Sat, 29 Nov 2025 19:19:11 +0000 (04:19 +0900)
commit3ce751c0347de472ac1dcdd58e06a21759f1ad78
treed084ba50838802a761e03ab132dd55341c3871f7
parentcc1f2ac99b99eede36a58cf115a56bdfbc977e52
lsfd: fix memory leak related to stat_error_class

Memory objects pointed by the name member of a file object allocate as
an instance of stat_error_class are leaked.

I intrdouced this bug in a125e2eea7cea4d0bac1404c2e1b1d65d11cc10c.  In
the commit, I arranged the class hierarchy.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
lsfd-cmd/file.c