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]

Memory leaks and regexp


On my system (Slackware 3.3 = linux 2.0.30), the following fragment 
leaks memory very fast. It may be a guile problem or a regex library problem,
does everybody else have the same trouble or not, or is a leak expected?


(let (( abc-rx (make-regexp "abc"  )))
  (do ((i 0))
      (#f )
    (regexp-exec abc-rx  "123" )
    )
  )