@iceman1001 s coverity scan fixes

This commit is contained in:
marshmellow42 2015-05-13 11:14:17 -04:00
parent 2b3af97df2
commit e6432f0579
7 changed files with 13 additions and 16 deletions

View file

@ -298,6 +298,7 @@ int setLuaPath( lua_State* L, const char* path )
lua_pushstring( L, buf ); // push the new one
lua_setfield( L, -2, "path" ); // set the field "path" in table at -2 with value at top of stack
lua_pop( L, 1 ); // get rid of package table from top of stack
free(buf);
return 0; // all done!
}