diff --git a/src/osgPlugins/osc/osc/OscPrintReceivedElements.cpp b/src/osgPlugins/osc/osc/OscPrintReceivedElements.cpp index cc1ae3ad1..3c3b232fa 100644 --- a/src/osgPlugins/osc/osc/OscPrintReceivedElements.cpp +++ b/src/osgPlugins/osc/osc/OscPrintReceivedElements.cpp @@ -124,7 +124,7 @@ std::ostream& operator<<( std::ostream & os, os << " " << s; - delete s; + delete [] s; } break;