From: Braden M. <br...@us...> - 2006-11-22 16:39:35
|
Update of /cvsroot/openvrml/openvrml/mozilla-plugin/src In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21867/mozilla-plugin/src Modified Files: Tag: OpenVRML-0_16-BRANCH 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.37.2.6 retrieving revision 1.37.2.7 diff -C2 -d -r1.37.2.6 -r1.37.2.7 *** openvrml.cpp 25 Oct 2006 22:30:52 -0000 1.37.2.6 --- openvrml.cpp 22 Nov 2006 16:39:33 -0000 1.37.2.7 *************** *** 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, |