projects
/
ruby-vorbistagger.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure we aren't keeping the input file opened.
[ruby-vorbistagger.git]
/
ext
/
vcedit.c
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);
}