Project "Tuxbox-GIT: apps":

The branch, master has been updated
       via  98a2a1858856304bf7bccd73d70cd09443805376 (commit)
      from  d3f09d1d2a545a728407dbb255eea4b050c8d282 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 98a2a1858856304bf7bccd73d70cd09443805376
Author: GetAway <get-a...@t-online.de>
Date:   Mon Jun 1 23:29:30 2015 +0200

    helper.cpp: close va_list before return
    
    Signed-off-by: GetAway <get-a...@t-online.de>

diff --git a/tuxbox/neutrino/src/system/helper.cpp 
b/tuxbox/neutrino/src/system/helper.cpp
index 1681c1b..740cad0 100644
--- a/tuxbox/neutrino/src/system/helper.cpp
+++ b/tuxbox/neutrino/src/system/helper.cpp
@@ -84,6 +84,7 @@ int my_system(int argc, const char *arg, ...)
                if (i == argv_max)
                {
                        fprintf(stderr, "my_system: too many arguments!\n");
+                       va_end(args);
                        return -1;
                }
                argv[i] = va_arg(args, const char *);

-----------------------------------------------------------------------

Summary of changes:
 tuxbox/neutrino/src/system/helper.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


-- 
Tuxbox-GIT: apps

------------------------------------------------------------------------------
_______________________________________________
Tuxbox-cvs-commits mailing list
Tuxbox-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tuxbox-cvs-commits

Reply via email to