mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
bug#924. Added test in clean up. pnunn.
This commit is contained in:
parent
24c27fd863
commit
d26b29c168
@ -166,7 +166,8 @@ il_png_abort(il_container *ic)
|
||||
ipng_p->rgbrow = NULL;
|
||||
ipng_p->alpharow = NULL;
|
||||
|
||||
png_destroy_read_struct(&ipng_p->pngs_p, &ipng_p->info_p, NULL);
|
||||
if((ipng_p->pngs_p)&&(ipng_p->info_p))
|
||||
png_destroy_read_struct(&ipng_p->pngs_p, &ipng_p->info_p, NULL);
|
||||
PR_FREEIF(ipng_p);
|
||||
ic->ds = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user