[haiku-bugs] [Haiku] #6378: Block Cache Memory Leak

  • From: "jvff" <trac@xxxxxxxxxxxx>
  • Date: Sat, 24 Jul 2010 21:06:49 -0000

#6378: Block Cache Memory Leak
---------------------------+------------------------------------------------
   Relator:  jvff          |             Dono:  nobody                  
      Tipo:  bug           |           Estado:  new                     
Prioridade:  normal        |            Marco:  R1                      
Componente:  File Systems  |           Versão:  R1/alpha2               
 Resolução:                |   Palavras-Chave:  block cache, memory leak
Blocked By:                |      Has a Patch:  0                       
  Platform:  All           |         Blocking:                          
---------------------------+------------------------------------------------

Attachment added (by jvff):

block_cache_leak.patch (561 bytes) - This patch frees the data block, but it 
assumes that the pointer value won't be overwritten by it's own value 
(otherwise it will point to a freed area). Also, the patch was generated from 
trunk/src/system/ because I had other files changed that weren't relevant to 
the patch.

View the file at 
http://dev.haiku-os.org/attachment/ticket/6378/block_cache_leak.patch

-- 
Ticket URL: http://dev.haiku-os.org/ticket/6378
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: