Gfx::opSetExtGState: Fix memory leak on broken files
While at it move definitions of i and funcs down where used, also remove the abuse of funcs[0] in one place and just declare a Function for it
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
While at it move definitions of i and funcs down where used, also remove the abuse of funcs[0] in one place and just declare a Function for it