Commit 25d17848 25d17848208ed8d03f966490b613c5ddfea7fb03 by Sergey Poznyakoff

Close output stream

1 parent 081d7706
......@@ -96,5 +96,7 @@ main (int argc, char *argv[])
read_and_print (stream, out);
stream_close (stream);
stream_destroy (&stream, stream_get_owner (stream));
stream_close (out);
stream_destroy (&out, stream_get_owner (stream));
return 0;
}
......