摘要: 最近写GIF解析,使用了很多结构体指针。常常出现在指针delete的时候 异常。具体如下:RGBQUAD *GIFGlobolColorTable;//保存全局颜色列表GIFGlobolColorTable = new RGBQUAD[gct]; memset(GIFGlobolColorTable,0,gct*sizeof(RGBQUAD));if (GIFGlobolColorTable != NULL){GifColorType * pColor = GifIn->SColorMap->Colors;for (int i = 0;i<gct;i++){GIFGlobol 阅读全文
posted @ 2012-12-11 14:42 水上云天 阅读(1007) 评论(0) 推荐(0) 编辑