From David Callu, "I have a Segfault with xine plugin, when I load a video, then delete the XineStreamImage, then reload a video and finally delete the second XineStreamImage.
From David Callu, "I have a Segfault with xine plugin, when I load a video, then delete the XineStreamImage,
then reload a video and finally delete the second XineStreamImage.

In src/osgPlugins/xine/video_out_rgb.c, many code is ASM code, and 'clear()' function is one of them.
If OSG is compiled without the flag COMPILE_ASSEMBLY (default behaviours) the clear() function is an empty
function and allocated memory is never initialized to 0. So a structure which contain pointer haven't its pointer set to NULL.
And when we need to delete this pointer, all go bad.

I join the fixed file."


openscenegraph/osg,scrawl/osg,artoolkit/osg,jtorresfabra/osg,tomasthoresen/osg,artoolkit/osg,marchelbling/osg,scrawl/osg,artoolkit/osg,jtorresfabra/osg,marchelbling/osg,openscenegraph/osg,tomasthoresen/osg,scrawl/osg,tomasthoresen/osg,jtorresfabra/osg,marchelbling/osg,openscenegraph/osg,marchelbling/osg,scrawl/osg,jtorresfabra/osg,tomasthoresen/osg,artoolkit/osg,openscenegraph/osg