X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2b3af97df2b9368ea02cab49898b931d1c3d0598..e6432f05795ba0eaf1e34bb47b2a7f87a762de29:/client/scripting.c diff --git a/client/scripting.c b/client/scripting.c index d7f51c23..a7cf27d7 100644 --- a/client/scripting.c +++ b/client/scripting.c @@ -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! }