Mike McCormack : oleaut32: Remove incorrect references to malloc.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Nov 16 08:01:03 CST 2006


Module: wine
Branch: master
Commit: efc8317bb249a464e952ee91c3df777c4b18ac7f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=efc8317bb249a464e952ee91c3df777c4b18ac7f

Author: Mike McCormack <mike at codeweavers.com>
Date:   Thu Nov 16 17:39:33 2006 +0900

oleaut32: Remove incorrect references to malloc.

---

 dlls/oleaut32/ungif.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

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




More information about the wine-cvs mailing list