Fix of a delete char array so it used delete [].

This commit is contained in:
Robert Osfield
2002-03-14 23:19:58 +00:00
parent 8b15a1f835
commit 0610d76c6a

View File

@@ -294,7 +294,7 @@ char *osgDB::findDSO( const char *name )
strcat(prependosgPlugins,name);
fileFound = findFileInPath( prependosgPlugins , path );
delete prependosgPlugins;
delete [] prependosgPlugins;
return fileFound;
#else // defined macintosh