oleaut32: Remove incorrect references to malloc.

This commit is contained in:
Mike McCormack 2006-11-16 17:39:33 +09:00 committed by Alexandre Julliard
parent f8829297da
commit efc8317bb2

View File

@ -88,7 +88,7 @@ typedef struct GifColorType {
typedef struct ColorMapObject { typedef struct ColorMapObject {
int ColorCount; int ColorCount;
int BitsPerPixel; int BitsPerPixel;
GifColorType *Colors; /* on malloc(3) heap */ GifColorType *Colors;
} ColorMapObject; } ColorMapObject;
typedef struct GifImageDesc { typedef struct GifImageDesc {
@ -153,17 +153,17 @@ int DGifCloseFile(GifFileType * GifFile);
/* This is the in-core version of an extension record */ /* This is the in-core version of an extension record */
typedef struct { typedef struct {
int ByteCount; int ByteCount;
char *Bytes; /* on malloc(3) heap */ char *Bytes;
int Function; /* Holds the type of the Extension block. */ int Function; /* Holds the type of the Extension block. */
} ExtensionBlock; } ExtensionBlock;
/* This holds an image header, its unpacked raster bits, and extensions */ /* This holds an image header, its unpacked raster bits, and extensions */
typedef struct SavedImage { typedef struct SavedImage {
GifImageDesc ImageDesc; GifImageDesc ImageDesc;
unsigned char *RasterBits; /* on malloc(3) heap */ unsigned char *RasterBits;
int Function; /* DEPRECATED: Use ExtensionBlocks[x].Function instead */ int Function; /* DEPRECATED: Use ExtensionBlocks[x].Function instead */
int ExtensionBlockCount; int ExtensionBlockCount;
ExtensionBlock *ExtensionBlocks; /* on malloc(3) heap */ ExtensionBlock *ExtensionBlocks;
} SavedImage; } SavedImage;
#endif /* _UNGIF_H_ */ #endif /* _UNGIF_H_ */