public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Missing va_end in aarch64-dis.c
@ 2021-11-05  8:35 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2021-11-05  8:35 UTC (permalink / raw)
  To: binutils

	* 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-05  8:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05  8:35 Missing va_end in aarch64-dis.c Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).