diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-06-21 21:56:11 +0000 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-06-22 00:17:00 +0200 |
commit | 70402aa91d9831b7f2ccae9e76c4dd7aff7c386a (patch) | |
tree | 0d29c0e3174c17fb417474b0f8d3d89b08aabeb7 /lib | |
parent | 9e7e6822b7d5a47081691a04b4fd550a8349d8a5 (diff) | |
download | gnu-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); } // |