mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Imported from libpng-0.89c.tar
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
e5a37797b4
commit
c21f90c334
2
pngmem.c
2
pngmem.c
@@ -221,7 +221,7 @@ png_create_struct(uInt type)
|
||||
if ((struct_ptr = (png_voidp)farmalloc(size)) != NULL)
|
||||
#else
|
||||
# if defined(_MSC_VER) && defined(MAXSEG_64K)
|
||||
if ((struct_ptr = (png_voidp)halloc(size)) != NULL)
|
||||
if ((struct_ptr = (png_voidp)halloc(size,1)) != NULL)
|
||||
# else
|
||||
if ((struct_ptr = (png_voidp)malloc(size)) != NULL)
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user