[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1460469808-31227-1-git-send-email-mussitantesmortem@gmail.com>
Date: Tue, 12 Apr 2016 17:03:27 +0300
From: Maxim Zhukov <mussitantesmortem@...il.com>
To: Rob Herring <robh+dt@...nel.org>
Cc: Frank Rowand <frowand.list@...il.com>,
Grant Likely <grant.likely@...aro.org>,
linux-kernel@...r.kernel.org,
Maxim Zhukov <mussitantesmortem@...il.com>
Subject: [PATCH 1/2] scripts: genksyms: fix resource leak
This commit fixed resource leak at func main
Signed-off-by: Maxim Zhukov <mussitantesmortem@...il.com>
---
scripts/genksyms/genksyms.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/genksyms/genksyms.c b/scripts/genksyms/genksyms.c
index dafaf96..7c8f00e 100644
--- a/scripts/genksyms/genksyms.c
+++ b/scripts/genksyms/genksyms.c
@@ -873,5 +873,7 @@ int main(int argc, char **argv)
(double)nsyms / (double)HASH_BUCKETS);
}
+ fclose(dumpfile);
+
return errors != 0;
}
--
2.7.1.1.g3617aa0
Powered by blists - more mailing lists