Ignore:
Timestamp:
Jul 26, 2007, 6:17:07 AM (14 years ago)
Author:
Eugene Romanenko
Message:

PDF plugin: freetype library updated to version 2.3.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/freetype2/src/cff/cffobjs.c

    r182 r209  
    286286  {
    287287    FT_Error    error;
    288     FT_String*  result = 0;
    289     FT_Int      len = (FT_Int)ft_strlen( source );
    290 
    291 
    292     if ( !FT_ALLOC( result, len + 1 ) )
    293     {
    294       FT_MEM_COPY( result, source, len );
    295       result[len] = 0;
    296     }
    297 
    298     FT_UNUSED( error );
     288    FT_String*  result;
     289
     290
     291    result = ft_mem_strdup( memory, source, &error );
    299292
    300293    return result;
Note: See TracChangeset for help on using the changeset viewer.