aboutsummaryrefslogtreecommitdiff
path: root/opcodes/aarch64-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-11-05 19:01:13 +1030
committerAlan Modra <amodra@gmail.com>2021-11-05 19:03:34 +1030
commit109c1107c4394f0e85fa905ecb369f40d36fbef4 (patch)
tree4887b12223f1fe7b6a012fbd345ae8b8a2761a2e /opcodes/aarch64-dis.c
parentc5967f38de59c7375970c09b2c8b8702a01eb9d2 (diff)
downloadgdb-109c1107c4394f0e85fa905ecb369f40d36fbef4.zip
gdb-109c1107c4394f0e85fa905ecb369f40d36fbef4.tar.gz
gdb-109c1107c4394f0e85fa905ecb369f40d36fbef4.tar.bz2
Missing va_end in aarch64-dis.c
* aarch64-dis.c (extract_fields): Invoke va_end.
Diffstat (limited to 'opcodes/aarch64-dis.c')
-rw-r--r--opcodes/aarch64-dis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/aarch64-dis.c b/opcodes/aarch64-dis.c
index 2549e6c..cbc9051 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;
}