X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fbytecode.c;h=72f5d62a67970432a229ebf6fb9cda63afd6b5b2;hb=166ba1350d802535b6a6ea7ea0bc29c56a71b7ec;hp=fa6b4695514fe1c3367bba06f1bac71e3b5a80ed;hpb=ee38d21b330f5001b47a577cefb5ba7b82a3b7d3;p=chise%2Fxemacs-chise.git.1 diff --git a/src/bytecode.c b/src/bytecode.c index fa6b469..72f5d62 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -1624,7 +1624,7 @@ optimize_byte_code (/* in */ int from; int to; }; - struct jump * const jumps = alloca_array (struct jump, comfy_size); + struct jump * const jumps = xnew_array (struct jump, comfy_size); struct jump *jumps_ptr = jumps; Opbyte *program_ptr = program; @@ -1868,6 +1868,7 @@ optimize_byte_code (/* in */ /* *program_ptr++ = 0; */ *program_length = program_ptr - program; + xfree(jumps); } /* Optimize the byte code and store the optimized program, only