You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following should detect an error, but is not.
int * p = new int[10];
delete p;
Must use delete [] when allocated with new []. This is seen with gperftools-2.0
Reported by oscarl on 2012-10-15 18:25:24
The text was updated successfully, but these errors were encountered:
The heap checker will find these memory leaks for you. Not sure how we would do detection
of this condition without adding additional meta data to the memory allocation itself
which would negatively impact performance. Pretty sure Valgrind will detect these but
have you noticed how slow it runs :)
Originally reported on Google Code with ID 471
Reported by
oscarl
on 2012-10-15 18:25:24The text was updated successfully, but these errors were encountered: