mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
Dont free colormap tables in PHOTOMETRIC_PALETTE
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7620 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
35e02eb955
commit
135259b7c2
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-09-27 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/tiff.m (NSTiffRead): For PHOTOMETRIC_PALETTE, don't free
|
||||
colormap tables, they are owned by libtiff.
|
||||
|
||||
2000-09-26 Lyndon Tremblay <humasect@home.com>
|
||||
|
||||
|
||||
|
|
|
@ -406,9 +406,6 @@ NSTiffRead(TIFF* image, NSTiffInfo* info, char* data)
|
|||
inP++;
|
||||
}
|
||||
}
|
||||
free(map->red);
|
||||
free(map->green);
|
||||
free(map->blue);
|
||||
free(map);
|
||||
}
|
||||
break;
|
||||
|
@ -584,3 +581,5 @@ NSTiffGetColormap(TIFF* image)
|
|||
free(info);
|
||||
return map;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue