diff options
Diffstat (limited to 'posix/execle.c')
-rw-r--r-- | posix/execle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/execle.c b/posix/execle.c index dff95b2c1f..8edc03a84a 100644 --- a/posix/execle.c +++ b/posix/execle.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -48,6 +48,7 @@ execle (const char *path, const char *arg, ...) { if (argv != initial_argv) free (argv); + va_end (args); return -1; } if (argv == initial_argv) |