From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23763 invoked by alias); 13 Mar 2005 05:59:39 -0000 Mailing-List: contact glibc-bugs-regex-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-regex-owner@sources.redhat.com Received: (qmail 23746 invoked by uid 48); 13 Mar 2005 05:59:36 -0000 Date: Sun, 13 Mar 2005 05:59:00 -0000 From: "dreamershl at gmail dot com" To: glibc-bugs-regex@sources.redhat.com Message-ID: <20050313055935.788.dreamershl@gmail.com> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug regex/788] New: re_comile_fastmap() will cause the 20 bytes memory leak X-Bugzilla-Reason: CC X-SW-Source: 2005-03/txt/msg00000.txt.bz2 List-Id: When I use the fastmap in the regex. I find the memory leak. each time it will cost 20 bytes. I check the re_compile_fastmap(). I find it seem this function don't release the structure "fail_stack_type" memory. In the INIT_FAIL_STACK macro, the fail_stack will get 5* sizeof (fail_stack_elt_t) bytes memory. but I can't find the release statement at the end of the function. int re_compile_fastmap (struct re_pattern_buffer *bufp) { fail_stack_type fail_stack; ... INIT_FAIL_STACK (); } -- Summary: re_comile_fastmap() will cause the 20 bytes memory leak Product: glibc Version: unspecified Status: NEW Severity: critical Priority: P1 Component: regex AssignedTo: gotom at debian dot or dot jp ReportedBy: dreamershl at gmail dot com CC: glibc-bugs-regex at sources dot redhat dot com,glibc- bugs at sources dot redhat dot com http://sources.redhat.com/bugzilla/show_bug.cgi?id=788 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.