From 86721390d29a6e2fccddda41685e4e6ae690bca0 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 1 Jun 2013 22:39:31 +0200 Subject: LURE: Add missing va_end() CID 1002106 --- engines/lure/menu.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3