aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 7669e24a..da6e587f 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1108,7 +1108,6 @@ int ssh_buffer_unpack_va(struct ssh_buffer_struct *buffer,
for (p = format, count = 0; *p != '\0'; p++, count++) {
/* Invalid number of arguments passed */
if (argc != -1 && count > argc) {
- va_end(ap_copy);
rc = SSH_ERROR;
goto cleanup;
}