diff --git a/src/osgPlugins/osc/osc/OscPrintReceivedElements.cpp b/src/osgPlugins/osc/osc/OscPrintReceivedElements.cpp index 1ab1c4bd2..cc1ae3ad1 100644 --- a/src/osgPlugins/osc/osc/OscPrintReceivedElements.cpp +++ b/src/osgPlugins/osc/osc/OscPrintReceivedElements.cpp @@ -123,6 +123,8 @@ std::ostream& operator<<( std::ostream & os, s[ len - 1 ] = '\0'; os << " " << s; + + delete s; } break;