Check that close_fn is not %NULL before calling (#578499)
authorAlexander Larsson <alexl@redhat.com>
Wed, 20 May 2009 11:37:55 +0000 (13:37 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 20 May 2009 11:41:25 +0000 (13:41 +0200)
commitc20b8d4d53a4e90f0e822276f6fbd94d52ff3c85
tree84b40d42bc67c271dc27902548a492fd12456fd6
parent0a280dadec8394dd198c8cea0bc288d92c9c6ffd
Check that close_fn is not %NULL before calling (#578499)

Some streams have no close function, so this caused a crash.
gio/ginputstream.c
gio/giostream.c
gio/goutputstream.c