mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-14 00:53:12 -07:00
BUGS: more Coverity scan fixes.
This commit is contained in:
parent
2696349f16
commit
664bb5ae72
6 changed files with 10 additions and 13 deletions
|
@ -341,7 +341,8 @@ 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
|
||||
return 0; // all done!
|
||||
free(buf);
|
||||
return 0; // all done!
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue