input_stream: added function input_stream_deinit()
All close() implementations must call this method.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user