Commit efc8317b authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

oleaut32: Remove incorrect references to malloc.

parent f8829297
...@@ -88,7 +88,7 @@ typedef struct GifColorType { ...@@ -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); ...@@ -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_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment