summaryrefslogtreecommitdiff
path: root/src/libluaglue/LuaVM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libluaglue/LuaVM.cpp')
-rw-r--r--src/libluaglue/LuaVM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libluaglue/LuaVM.cpp b/src/libluaglue/LuaVM.cpp
index 04027af..566e516 100644
--- a/src/libluaglue/LuaVM.cpp
+++ b/src/libluaglue/LuaVM.cpp
@@ -77,7 +77,7 @@ void LuaVM::executeFunction( const string &f )
ostringstream ss;
ss << "Unable to call Lua function '" << f << "': " << lua_tostring( m_lua, -1 );
lua_pop( m_lua, 1 );
- throw new std::runtime_error( ss.str( ) );
+ throw std::runtime_error( ss.str( ) );
}
//int nresults = lua_gettop( m_lua ) - top;