commit | 9fbf2fa5dbaffb4af868f3e22da026cabf38c477 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Sep 28 21:02:36 2009 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Sep 28 21:02:36 2009 +0400 |
tree | ac25ccdbb8e98d50a6f5e25c1291e0594e9d09cd | |
parent | 9eb9351dd3e18ead47c1efdf94d53e477828d7d5 [diff] |
vzsplit: do not leak open fd vzsplit does not close the file opened. Fix it. Commit 68e1b402f09ae45b49df8d1ae22fd3bfb60324d4 tried to fix that before, but failed miserably since there's one conditional return before fclose(). Found by cppcheck. Signed-off-by: Kir Kolyshkin <kir@openvz.org>