From 481b608c51858d0b6afc3cfb461664fc9575c6a0 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Tue, 19 Dec 2017 19:27:13 -0600 Subject: PARALLACTION: Replace use of strdup with Common::String & malloc --- engines/parallaction/exec_ns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/parallaction/exec_ns.cpp') diff --git a/engines/parallaction/exec_ns.cpp b/engines/parallaction/exec_ns.cpp index 45fe0a9900..de1ca35243 100644 --- a/engines/parallaction/exec_ns.cpp +++ b/engines/parallaction/exec_ns.cpp @@ -234,7 +234,7 @@ DECLARE_COMMAND_OPCODE(get) { DECLARE_COMMAND_OPCODE(location) { - _vm->scheduleLocationSwitch(ctxt._cmd->_string); + _vm->scheduleLocationSwitch(ctxt._cmd->_string.c_str()); } -- cgit v1.2.3