Julian Seward 2e724ba3df construct_error(): strdup the supplied s (string) param which gives
extra info about some kinds of errors.  It was being allocated on the
stack by complain2/3 in mac_malloc_wrappers.c.

If the constructed error is found to be a duplicate, free the strdup'd
space.  That limits the worst-case space leak to one strdup'd string
for each different error we keep track of, and the latter by default
is limited to 300.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1785
2003-07-24 21:29:40 +00:00
..
2003-07-04 16:18:15 +00:00
2003-06-01 19:06:03 +00:00
2002-12-15 02:05:02 +00:00
2003-06-01 19:06:03 +00:00
2003-07-22 10:50:41 +00:00
2003-07-04 16:18:15 +00:00
2003-07-06 01:17:33 +00:00