cppcheck reported:
[src/bootchart/svg.c:791]: (error) Mismatching allocation and deallocation: f

Signed-off-by: Thomas Jarosch <thomas.jaro...@intra2net.com>
---
 src/bootchart/svg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c
index 156918a..550f769 100644
--- a/src/bootchart/svg.c
+++ b/src/bootchart/svg.c
@@ -788,7 +788,7 @@ static void svg_do_initcall(int count_only)
                 kcount++;
         }
 
-        fclose(f);
+        pclose(f);
 }
 
 
-- 
1.7.11.7

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to