[Commits] : Tuxbox-GIT: apps branch master updated. CVS-Final-588-g98a2a18
Tuxbox Sources
Brought to you by:
dbt1
|
From: GetAway <tux...@ne...> - 2015-06-01 21:30:05
|
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...@t-...>
Date: Mon Jun 1 23:29:30 2015 +0200
helper.cpp: close va_list before return
Signed-off-by: GetAway <get...@t-...>
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
|