summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-06-21 21:56:11 +0000
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-06-22 00:17:00 +0200
commit70402aa91d9831b7f2ccae9e76c4dd7aff7c386a (patch)
tree0d29c0e3174c17fb417474b0f8d3d89b08aabeb7 /lib
parent9e7e6822b7d5a47081691a04b4fd550a8349d8a5 (diff)
downloadgnu-efi-70402aa91d9831b7f2ccae9e76c4dd7aff7c386a.tar.gz
lib/hand: missing va_end() in LibReinstallProtocolInterfaces()
For each va_start() there must be a call to va_end(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/hand.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/hand.c b/lib/hand.c
index 7011e48..73dbc89 100644
--- a/lib/hand.c
+++ b/lib/hand.c
@@ -610,6 +610,7 @@ LibReinstallProtocolInterfaces (
Index += 1;
}
+ va_end (args);
//
// If there was an error, undo all the interfaces that were
@@ -627,7 +628,8 @@ LibReinstallProtocolInterfaces (
uefi_call_wrapper(BS->ReinstallProtocolInterface, 4, Handle, Protocol, NewInterface, OldInterface);
Index -= 1;
- }
+ }
+ va_end (args);
}
//