aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2013-06-01 22:39:31 +0200
committerTorbjörn Andersson2013-06-01 22:39:31 +0200
commit86721390d29a6e2fccddda41685e4e6ae690bca0 (patch)
tree2277ad654350610750678b0aa2740c5be33060e2
parentc4b3f113d3760d3c370259fd938465dab7a371c8 (diff)
downloadscummvm-rg350-86721390d29a6e2fccddda41685e4e6ae690bca0.tar.gz
scummvm-rg350-86721390d29a6e2fccddda41685e4e6ae690bca0.tar.bz2
scummvm-rg350-86721390d29a6e2fccddda41685e4e6ae690bca0.zip
LURE: Add missing va_end()
CID 1002106
-rw-r--r--engines/lure/menu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/lure/menu.cpp b/engines/lure/menu.cpp
index 93deecdcd6..7d34ac3911 100644
--- a/engines/lure/menu.cpp
+++ b/engines/lure/menu.cpp
@@ -47,6 +47,7 @@ MenuRecord::MenuRecord(const MenuRecordBounds *bounds, int numParams, ...) {
va_start(params, numParams);
for (int index = 0; index < _numEntries; ++index)
_entries[index] = va_arg(params, const char *);
+ va_end(params);
// Store position data
_hsxstart = bounds->left; _hsxend = bounds->right;