dnsproxy: Check GIO channel for NULL before use
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 16 Nov 2012 12:12:46 +0000 (14:12 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 19 Nov 2012 12:53:24 +0000 (14:53 +0200)
commit792c02f6b72cecb1ba2ad1ed2cf496e655c7d977
tree955fb425f2dab12f824dcd632e7cd530a983feb9
parenta3c241e74ce36b53e8105c76971eec9acc5cba74
dnsproxy: Check GIO channel for NULL before use

Check GIO channel for NULL before using it. Also shut down the GIO channel
so that already pending input will not use the free'd structure.
src/dnsproxy.c