On Sun, Jan 20, 2013 at 02:19:55PM +0200, Mikolaj Golub wrote:
Hi,
Some time ago I noticed that valgrind started to complain about
Mismatched free() / delete / delete [] for valid new/delete
combinations.
For example, the following test program
int main()
{
char* buf = new
Hi,
Some time ago I noticed that valgrind started to complain about
Mismatched free() / delete / delete [] for valid new/delete
combinations.
For example, the following test program
int main()
{
char* buf = new char[10];
delete [] buf;
return 0;
}
produced a warning: