aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/file_input_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-01-18 09:57:53 +0100
committerMax Kellermann <max@duempel.org>2010-01-18 09:57:53 +0100
commitfb9bd53328e3ff57ea4b3cfee24068f9fb54927b (patch)
treee350fdb14ebf8916897797c59527f25d703d3883 /src/input/file_input_plugin.c
parenta0a26d3341022552984a3307393a8f701f350edc (diff)
downloadmpd-fb9bd53328e3ff57ea4b3cfee24068f9fb54927b.tar.gz
mpd-fb9bd53328e3ff57ea4b3cfee24068f9fb54927b.tar.xz
mpd-fb9bd53328e3ff57ea4b3cfee24068f9fb54927b.zip
input_stream: added function input_stream_deinit()
All close() implementations must call this method.
Diffstat (limited to 'src/input/file_input_plugin.c')
-rw-r--r--src/input/file_input_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/file_input_plugin.c b/src/input/file_input_plugin.c
index 1c5813f88..173b7c2e8 100644
--- a/src/input/file_input_plugin.c
+++ b/src/input/file_input_plugin.c
@@ -136,6 +136,7 @@ input_file_close(struct input_stream *is)
struct file_input_stream *fis = (struct file_input_stream *)is;
close(fis->fd);
+ input_stream_deinit(&fis->base);
g_free(fis);
}