- bugfixes found from cppcheck

This commit is contained in:
Mark Vejvoda
2011-08-31 19:44:19 +00:00
parent f542ce36e4
commit 3af608151e
12 changed files with 351 additions and 82 deletions

View File

@@ -59,7 +59,7 @@ namespace Shared { namespace Util {
wcstombs_s(&i, &b[0], l, v, l);
#endif
append(b);
delete b;
delete [] b;
return *this;
}