This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
"ccf::satchell"@hermes.dra.hmg.gb writes: > I have found a fix for the regexp memory leak. In the file regex-posix.c > the routine scm_regexp_exec mallocs memory for a match structure at line > 242, which is never freed. Inserting the line > > scm_must_free ( (char *)matches); > > before SCM_ALLOW_INTS fixes the problem. Thank you to roland for his help. 1998-06-09 Mikael Djurfeldt <mdj@mdj.nada.kth.se> * regex-posix.c (scm_regexp_exec): Free malloced memory. (Thanks to Julian Satchell and Roland Kaufmann.)