git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts/dtc: Fix a resource leak
[pandora-kernel.git]
/
scripts
/
dtc
/
fstree.c
diff --git
a/scripts/dtc/fstree.c
b/scripts/dtc/fstree.c
index
766b269
..
8fe1bdf
100644
(file)
--- a/
scripts/dtc/fstree.c
+++ b/
scripts/dtc/fstree.c
@@
-77,6
+77,7
@@
static struct node *read_fstree(const char *dirname)
free(tmpnam);
}
+ closedir(d);
return tree;
}