fs-native-extensions
Advanced tools
+9
-9
@@ -217,7 +217,7 @@ #include <node_api.h> | ||
| free((char *) req->from); | ||
| free((char *) req->to); | ||
| napi_delete_reference(env, r->cb); | ||
| napi_delete_reference(env, r->ctx); | ||
| free((char *) req->from); | ||
| free((char *) req->to); | ||
| } | ||
@@ -269,6 +269,6 @@ | ||
| free((char *) req->name); | ||
| napi_delete_reference(env, r->cb); | ||
| napi_delete_reference(env, r->ctx); | ||
| free((char *) req->name); | ||
| } | ||
@@ -309,6 +309,6 @@ | ||
| free((char *) req->name); | ||
| napi_delete_reference(env, r->cb); | ||
| napi_delete_reference(env, r->ctx); | ||
| free((char *) req->name); | ||
| } | ||
@@ -349,6 +349,6 @@ | ||
| free((char *) req->name); | ||
| napi_delete_reference(env, r->cb); | ||
| napi_delete_reference(env, r->ctx); | ||
| free((char *) req->name); | ||
| } | ||
@@ -355,0 +355,0 @@ |
+3
-3
| { | ||
| "name": "fs-native-extensions", | ||
| "version": "1.4.1", | ||
| "version": "1.4.2", | ||
| "description": "Native file system extensions for advanced file operations", | ||
@@ -37,4 +37,4 @@ "main": "index.js", | ||
| "test": "npm run lint && npm run test:bare && npm run test:node", | ||
| "test:bare": "bare test.mjs", | ||
| "test:node": "node test.mjs", | ||
| "test:bare": "bare test.js", | ||
| "test:node": "node test.js", | ||
| "lint": "prettier . --check" | ||
@@ -41,0 +41,0 @@ }, |
+8
-4
@@ -193,5 +193,7 @@ #include <stdint.h> | ||
| if (r->cb) r->cb(r, r->result, &r->value); | ||
| uv_buf_t value = r->value; | ||
| free(r->value.base); | ||
| if (r->cb) r->cb(r, r->result, &value); | ||
| free(value.base); | ||
| } | ||
@@ -271,5 +273,7 @@ | ||
| if (r->cb) r->cb(r, r->result, (const char **) r->names, r->length); | ||
| const char **names = (const char **) r->names; | ||
| free(r->names); | ||
| if (r->cb) r->cb(r, r->result, names, r->length); | ||
| free(names); | ||
| } | ||
@@ -276,0 +280,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1701257
0.03%