]> git.ipfire.org Git - thirdparty/util-linux.git/commit
switch_root: close open file after usage [cppcheck]
authorSami Kerola <kerolasa@iki.fi>
Tue, 7 Feb 2012 22:01:14 +0000 (23:01 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 8 Feb 2012 13:23:28 +0000 (14:23 +0100)
commitdd41e06795638795345a0a4da9510f948ad81906
treeb7aa69406a5a8c971dc0e1d67a93056ad34826f3
parent4b11df2cf50fc324bdc4cb507d773520fb33a896
switch_root: close open file after usage [cppcheck]

[sys-utils/switch_root.c:159]: (error) Resource leak: cfd

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/switch_root.c