bug#50614: leak fix. pnunn. r:bruce

git-svn-id: svn://10.0.0.236/trunk@77816 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pnunn%netscape.com 2000-09-01 01:09:30 +00:00
parent 80e8b01322
commit 74ef2e3d9f

View File

@ -1686,13 +1686,13 @@ il_gif_abort(il_container *ic)
gs->local_colormap = NULL;
ic->src_header->color_space->cmap.map = NULL;
}
} else {
if (gs->global_colormap) {
}
if (gs->global_colormap) {
PR_FREEIF(gs->global_colormap);
gs->global_colormap = NULL;
ic->src_header->color_space->cmap.map = NULL;
}
}
PR_FREEIF(gs);
ic->ds = 0;