Don't free EA when simplifying shift_op case. Not only is this code completely
authorPeter Johnson <peter@tortall.net>
Sat, 1 Dec 2001 06:15:58 +0000 (06:15 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 1 Dec 2001 06:15:58 +0000 (06:15 -0000)
commit2aec833b07c1281b2e155bdf30c70587f11293bf
tree4320f5fedceeb6c5d843c9825a5d11ee7d39b499
parentff1fba3febcfc7c32597269a25dfbfd4b14e0d57
Don't free EA when simplifying shift_op case.  Not only is this code completely
wrong (the ModRM byte definitely must be kept), but it had a memory leak too
(it just freed the ea without calling expr_delete())!

svn path=/trunk/yasm/; revision=367
modules/arch/x86/bytecode.c
modules/arch/x86/x86bc.c
src/arch/x86/bytecode.c
src/arch/x86/x86bc.c