Missing va_end in aarch64-dis.c

Alan Modra amodra@gmail.com
Fri Nov 5 08:35:09 GMT 2021


	* aarch64-dis.c (extract_fields): Invoke va_end.

diff --git a/opcodes/aarch64-dis.c b/opcodes/aarch64-dis.c
index 2549e6c3256..cbc9051e0a9 100644
--- a/opcodes/aarch64-dis.c
+++ b/opcodes/aarch64-dis.c
@@ -155,6 +155,7 @@ extract_fields (aarch64_insn code, aarch64_insn mask, ...)
       value <<= field->width;
       value |= extract_field (kind, code, mask);
     }
+  va_end (va);
   return value;
 }
 

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list