summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/xfer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/xfer.c b/src/core/xfer.c
index 2250687e4..ea5fda3d6 100644
--- a/src/core/xfer.c
+++ b/src/core/xfer.c
@@ -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 );
}
}