Bug#217092: libc6-dev: leaks memory in regcomp (/usr/include/regex.h)

2003-10-22 Thread Alexander Kjall
Package: libc6-dev Version: 2.3.2-8 Severity: normal A memoryleak in regcomp, a example program is included below plus some output from valgrind. It might be that i use it wrongly but I don't think so. #include sys/types.h #include regex.h #include iostream #include string void cleanup(int

Bug#217092: libc6-dev: leaks memory in regcomp (/usr/include/regex.h)

2003-10-22 Thread Colin Watson
On Wed, Oct 22, 2003 at 07:07:06PM +0200, Alexander Kjall wrote: Package: libc6-dev Version: 2.3.2-8 Severity: normal A memoryleak in regcomp, a example program is included below plus some output from valgrind. It might be that i use it wrongly but I don't think so. You're not calling

Bug#217092: libc6-dev: leaks memory in regcomp (/usr/include/regex.h)

2003-10-22 Thread Alexander Kjall
Package: libc6-dev Version: 2.3.2-8 Severity: normal A memoryleak in regcomp, a example program is included below plus some output from valgrind. It might be that i use it wrongly but I don't think so. #include sys/types.h #include regex.h #include iostream #include string void cleanup(int

Bug#217092: libc6-dev: leaks memory in regcomp (/usr/include/regex.h)

2003-10-22 Thread Colin Watson
On Wed, Oct 22, 2003 at 07:07:06PM +0200, Alexander Kjall wrote: Package: libc6-dev Version: 2.3.2-8 Severity: normal A memoryleak in regcomp, a example program is included below plus some output from valgrind. It might be that i use it wrongly but I don't think so. You're not calling