diff options
Diffstat (limited to 'builds/windows/ftsystem.c')
-rw-r--r-- | builds/windows/ftsystem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builds/windows/ftsystem.c b/builds/windows/ftsystem.c index bab7b31d3..1ebadd49f 100644 --- a/builds/windows/ftsystem.c +++ b/builds/windows/ftsystem.c @@ -188,7 +188,7 @@ FT_CALLBACK_DEF( void ) ft_close_stream_by_free( FT_Stream stream ) { - ft_free( NULL, stream->descriptor.pointer ); + ft_free( stream->memory, stream->descriptor.pointer ); stream->descriptor.pointer = NULL; stream->size = 0; @@ -323,7 +323,7 @@ FT_ERROR(( "FT_Stream_Open:" )); FT_ERROR(( " could not `mmap' file `%s'\n", filepathname )); - stream->base = (unsigned char*)ft_alloc( NULL, stream->size ); + stream->base = (unsigned char*)ft_alloc( stream->memory, stream->size ); if ( !stream->base ) { @@ -369,7 +369,7 @@ return FT_Err_Ok; Fail_Read: - ft_free( NULL, stream->base ); + ft_free( stream->memory, stream->base ); Fail_Open: CloseHandle( file ); |