]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripting.c
@iceman1001 s coverity scan fixes
[proxmark3-svn] / client / scripting.c
index d7f51c234ea0b5751ca2e82f28fe8e77ec771246..a7cf27d74ab51fbd64ab8647424624d6e56ac4cb 100644 (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!
 }
 
Impressum, Datenschutz