|
From: Braden M. <br...@us...> - 2006-11-22 16:39:48
|
Update of /cvsroot/openvrml/openvrml/mozilla-plugin/src In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21889/mozilla-plugin/src Modified Files: openvrml.cpp Log Message: Check that the request_channel is nonzero after creating a new one. Index: openvrml.cpp =================================================================== RCS file: /cvsroot/openvrml/openvrml/mozilla-plugin/src/openvrml.cpp,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** openvrml.cpp 25 Oct 2006 22:31:11 -0000 1.43 --- openvrml.cpp 22 Nov 2006 16:39:46 -0000 1.44 *************** *** 1217,1221 **** this->request_channel = g_io_channel_unix_new(standard_output); ! if (!this->command_channel) { throw std::bad_alloc(); } this->request_channel_watch_id = g_io_add_watch(this->request_channel, --- 1217,1221 ---- this->request_channel = g_io_channel_unix_new(standard_output); ! if (!this->request_channel) { throw std::bad_alloc(); } this->request_channel_watch_id = g_io_add_watch(this->request_channel, |