Fixed 2 Coverity reported issues.
Fixed 2 Coverity reported issues.

Following are both false positives as the the scope they are in will always assign the object to a ref counted
structure.  I've modified the code to use ref_ptr<> to just make it clear that it's underscope, although
this is not strictly neccessary as the code is OK, I introduced this for clarity and robustness in
presence of exceptions.

CID 11586: Resource leak (RESOURCE_LEAK)
Calling allocation function "operator new(unsigned long long)".
Variable "<storage from new>" is not freed or pointed-to in function "osg::VertexBufferObject::VertexBufferObject()". [show details]
Assigning: "vbo" = storage returned from "new osg::VertexBufferObject".


CID 11587: Resource leak (RESOURCE_LEAK)
Calling allocation function "operator new(unsigned long long)".
Variable "<storage from new>" is not freed or pointed-to in function "osg::ElementBufferObject::ElementBufferObject()". [show details]
Assigning: "ebo" = storage returned from "new osg::ElementBufferObject".



koshman86/osg,XiaoCC/osg,artoolkit/osg,artoolkit/osg,ntoand/osg,XiaoCC/osg,stmh/osg,ghub/osg,koshman86/osg,XiaoCC/osg,XiaoCC/osg,omega-hub/osg,stmh/osg,stmh/osg,ntoand/osg,omega-hub/osg,koshman86/osg,omega-hub/osg,artoolkit/osg,ghub/osg,ntoand/osg,stmh/osg,XiaoCC/osg,koshman86/osg,omega-hub/osg,ghub/osg,ghub/osg,stmh/osg,artoolkit/osg,ntoand/osg