Added missing va_end()
authorMichael Brown <mcb30@etherboot.org>
Sun, 3 Jun 2007 02:11:25 +0000 (02:11 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 3 Jun 2007 02:11:25 +0000 (02:11 +0000)
src/core/xfer.c

index 2250687..ea5fda3 100644 (file)
@@ -240,6 +240,7 @@ int xfer_vprintf ( struct xfer_interface *xfer, const char *format,
        {
                char buf[len + 1];
                vsnprintf ( buf, sizeof ( buf ), format, args_tmp );
+               va_end ( args_tmp );
                return xfer_deliver_raw ( xfer, buf, len );
        }
 }