aboutsummaryrefslogtreecommitdiff
path: root/blaze822.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-21 20:27:33 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-21 20:27:33 +0200
commit98c03d902360daf649c8864a281c5521cb99013a (patch)
tree2f317a3ebc554ca7c287c48d54817bae2438eb74 /blaze822.c
parent396f1ed8dfbadda21c592bd49abdff671e03083c (diff)
downloadmblaze-98c03d902360daf649c8864a281c5521cb99013a.tar.gz
blaze822: forgot to free
Found by clang-analyzer.
Diffstat (limited to 'blaze822.c')
-rw-r--r--blaze822.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/blaze822.c b/blaze822.c
index 92c0464..66137e0 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -313,6 +313,7 @@ blaze822(char *file)
fd = open(file, O_RDONLY);
if (fd < 0) {
// perror("open");
+ free(mesg);
return 0;
}