Module Name: src Committed By: christos Date: Tue Dec 15 12:36:10 UTC 2015
Modified Files: src/sys/external/bsd/gnu-efi/dist/lib: hand.c Log Message: PR/50561: David Binderman: Add missing va_end calls. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/external/bsd/gnu-efi/dist/lib/hand.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/gnu-efi/dist/lib/hand.c diff -u src/sys/external/bsd/gnu-efi/dist/lib/hand.c:1.1.1.1 src/sys/external/bsd/gnu-efi/dist/lib/hand.c:1.2 --- src/sys/external/bsd/gnu-efi/dist/lib/hand.c:1.1.1.1 Tue Apr 1 12:16:07 2014 +++ src/sys/external/bsd/gnu-efi/dist/lib/hand.c Tue Dec 15 07:36:10 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: hand.c,v 1.1.1.1 2014/04/01 16:16:07 jakllsch Exp $ */ +/* $NetBSD: hand.c,v 1.2 2015/12/15 12:36:10 christos Exp $ */ /*++ @@ -488,6 +488,8 @@ LibInstallProtocolInterfaces ( Index += 1; } + va_end (args); + // // If there was an error, remove all the interfaces that were // installed without any errors @@ -503,6 +505,7 @@ LibInstallProtocolInterfaces ( Index -= 1; } + va_end (args); *Handle = OldHandle; } @@ -551,6 +554,7 @@ LibUninstallProtocolInterfaces ( DEBUG((D_ERROR, "LibUninstallProtocolInterfaces: failed %g, %r\n", Protocol, Handle)); } } + va_end (args); } @@ -607,6 +611,8 @@ LibReinstallProtocolInterfaces ( Index += 1; } + va_end (args); + // // If there was an error, undo all the interfaces that were // reinstalled without any errors @@ -624,6 +630,7 @@ LibReinstallProtocolInterfaces ( Index -= 1; } + va_end (args); } //