diff options
author | Colin Ian King <colin.king@canonical.com> | 2014-02-18 08:51:30 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@free.fr> | 2014-02-18 08:51:30 +0100 |
commit | 761b19925b7509c0212373e6791d6b9b11cb639f (patch) | |
tree | ac0a36cd7a08543ae759b5ff51b8d5540672fe8a /topology.c | |
parent | c302e571cb0c4390095b17a458f2004fd63322a4 (diff) |
Fix file and memory resource leak on error exit in idlestat_load
The error returns in idlestat_load fail to close an open file and
free allocated memory on the heap. This patch addresses this.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'topology.c')
0 files changed, 0 insertions, 0 deletions