]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripting.c
CHG: the new NTAG_i2c_1K enums, broke the uint16_t size.. Had to go up one level.
[proxmark3-svn] / client / scripting.c
index 15c336ff8a3351e9c1ed5fa58027f98f41da77fd..880b7cb2ffecea9741fad613a3f64d3cae380496 100644 (file)
@@ -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!
 }
 
 
Impressum, Datenschutz