freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] problem with ft_mem_debug_realloc


From: Werner LEMBERG
Subject: [Devel] problem with ft_mem_debug_realloc
Date: Thu, 06 May 2004 09:16:30 +0200 (CEST)

David,


in ft_mem_debug_realloc there is the following test:

  if ( block == NULL || cur_size == 0 )
    ft_mem_debug_panic( "trying to reallocate NULL in (%s:%ld)",
                        file_name, line_no );

Why?  According to the realloc() man page, this case is equivalent to
malloc(), thus valid.  There is code (Update_Max in TT_Load_Context)
which needs this functionality.

I've commented this out.  Please check.



    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]