cvs commit: src/lib/libc/stdlib malloc.c

Jason Evans jasone at FreeBSD.org
Mon Dec 31 06:19:49 UTC 2007


jasone      2007-12-31 06:19:48 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.c 
  Log:
  Fix a major chunk-related memory leak in chunk_dealloc_dss_record(). [1]
  
  Clean up DSS-related locking and protect all pertinent variables with
  dss_mtx (remove dss_chunks_mtx).  This fixes race conditions that could
  cause chunk leaks.
  
  Reported by:    [1] kris
  
  Revision  Changes    Path
  1.160     +56 -65    src/lib/libc/stdlib/malloc.c


More information about the cvs-all mailing list