Re: [PATCH] Fix memory leak due to destroy_loop_vec_info (PR middle-end/56461)

2013-03-04 Thread Richard Biener
On Fri, 1 Mar 2013, Jakub Jelinek wrote: > Hi! > > This fixes leaks like > ==31176== 176 bytes in 2 blocks are definitely lost in loss record 432 of 541 > ==31176==at 0x4A0881C: malloc (vg_replace_malloc.c:270) > ==31176==by 0x114DF6F: xrealloc (xmalloc.c:177) > ==31176==by 0x85E0AA:

[PATCH] Fix memory leak due to destroy_loop_vec_info (PR middle-end/56461)

2013-03-01 Thread Jakub Jelinek
Hi! This fixes leaks like ==31176== 176 bytes in 2 blocks are definitely lost in loss record 432 of 541 ==31176==at 0x4A0881C: malloc (vg_replace_malloc.c:270) ==31176==by 0x114DF6F: xrealloc (xmalloc.c:177) ==31176==by 0x85E0AA: void va_heap::reserve(vec*&, unsigned int, bool) (vec.h