search for: re_free

Displaying 3 results from an estimated 3 matches for "re_free".

2008 Jul 09
1
memory leak in sub("[range]",...)
...9;t get freed. After the following change in free_charset() only the 85 byte/4 block leak in readline remains. Index: regex.c =================================================================== --- regex.c (revision 46046) +++ regex.c (working copy) @@ -6240,9 +6240,9 @@ # ifdef _LIBC re_free (cset->coll_syms); re_free (cset->equiv_classes); +# endif re_free (cset->range_starts); re_free (cset->range_ends); -# endif re_free (cset->char_classes); re_free (cset); } [This report may be a duplicate: I tried submitting it via the form in http://bugs.r-project....
2008 Aug 07
1
memory leak in sub("[range]", ...) when #ifndef _LIBC (PR#11946)
...defined. The following change to regex.c:free_charset() seems to take care of the problem. % svn diff regex.c Index: regex.c =================================================================== --- regex.c (revision 46038) +++ regex.c (working copy) @@ -6240,9 +6240,9 @@ # ifdef _LIBC re_free (cset->coll_syms); re_free (cset->equiv_classes); +# endif re_free (cset->range_starts); re_free (cset->range_ends); -# endif re_free (cset->char_classes); re_free (cset); } > version _ platform i686-pc-linux-gnu arch i686 os...
2008 Aug 07
0
memory leak in sub("[range]", ...) when #ifndef _LIBC (PR#12488)
...:free_charset() seems to take care of the problem. > > % svn diff regex.c > Index: regex.c > =================================================================== > --- regex.c (revision 46038) > +++ regex.c (working copy) > @@ -6240,9 +6240,9 @@ > # ifdef _LIBC > re_free (cset->coll_syms); > re_free (cset->equiv_classes); > +# endif > re_free (cset->range_starts); > re_free (cset->range_ends); > -# endif > re_free (cset->char_classes); > re_free (cset); > } > > >> version > _ > platfor...