aboutsummaryrefslogtreecommitdiff
path: root/lib/io/unix/ostream.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/io/unix/ostream.c')
-rw-r--r--lib/io/unix/ostream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/io/unix/ostream.c b/lib/io/unix/ostream.c
index 6ed18e6..5ef2af2 100644
--- a/lib/io/unix/ostream.c
+++ b/lib/io/unix/ostream.c
@@ -163,6 +163,8 @@ ostream_t *ostream_open_stdout(void)
strm->append = file_append;
strm->flush = file_flush;
strm->get_filename = file_get_filename;
+
+ sqfs_object_init(file, file_destroy, NULL);
return strm;
fail:
perror("creating file wrapper for stdout");