diff options
author | Max Kellermann <max@duempel.org> | 2010-01-18 09:57:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-01-18 09:57:53 +0100 |
commit | fb9bd53328e3ff57ea4b3cfee24068f9fb54927b (patch) | |
tree | e350fdb14ebf8916897797c59527f25d703d3883 /src/archive/bz2_archive_plugin.c | |
parent | a0a26d3341022552984a3307393a8f701f350edc (diff) | |
download | mpd-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/archive/bz2_archive_plugin.c')
-rw-r--r-- | src/archive/bz2_archive_plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/archive/bz2_archive_plugin.c b/src/archive/bz2_archive_plugin.c index 75b4b1ece..67cc0055c 100644 --- a/src/archive/bz2_archive_plugin.c +++ b/src/archive/bz2_archive_plugin.c @@ -182,6 +182,7 @@ bz2_open_stream(struct archive_file *file, bis->base.seekable = false; if (!bz2_alloc(bis, error_r)) { + input_stream_deinit(&bis->base); g_free(bis); return NULL; } @@ -202,6 +203,7 @@ bz2_is_close(struct input_stream *is) bz2_close(&bis->archive->base); + input_stream_deinit(&bis->base); g_free(bis); } |