projects
/
ruby-vorbistagger.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e7d2b
)
Make sure we aren't keeping the input file opened.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Wed, 16 Aug 2006 19:24:47 +0000
(21:24 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Wed, 23 Aug 2006 17:39:14 +0000
(19:39 +0200)
ext/vcedit.c
patch
|
blob
|
history
diff --git
a/ext/vcedit.c
b/ext/vcedit.c
index 073196b3fdb1b1b9ebfcda7166b871f7d1354de3..336ce26e94f531a299c045091016dc1bfe7d60d2 100644
(file)
--- a/
ext/vcedit.c
+++ b/
ext/vcedit.c
@@
-68,6
+68,11
@@
vcedit_state_free (vcedit_state *state)
free (state->bookbuf);
free (state->vendor);
+ if (state->in) {
+ fclose (state->in);
+ state->in = NULL;
+ }
+
free (state);
}