git.openpandora.org
/
pandora-libraries.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f81cd92
)
is_dir_empty() leaking fd's; notaz found it :)
author
skeezix
<skeezix@flotsam-vm.(none)>
Fri, 4 Jun 2010 00:41:14 +0000
(20:41 -0400)
committer
skeezix
<skeezix@flotsam-vm.(none)>
Fri, 4 Jun 2010 00:41:14 +0000
(20:41 -0400)
minimenu/mmenu.c
patch
|
blob
|
history
diff --git
a/minimenu/mmenu.c
b/minimenu/mmenu.c
index
01a7341
..
0a53ef3
100644
(file)
--- a/
minimenu/mmenu.c
+++ b/
minimenu/mmenu.c
@@
-377,6
+377,7
@@
static unsigned int is_dir_empty ( char *fullpath ) {
// irrelevent
} else {
// something else came in, so dir must not be empty
+ closedir ( d );
return ( 0 );
}