| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8850555 commit 0783ddf
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -497,6 +497,7 @@ MaybeLocal<Object> New(Environment* env, | |||
| 497 | 497 | if (length > kMaxLength) { | |
| 498 | 498 | Isolate* isolate(env->isolate()); | |
| 499 | 499 | isolate->ThrowException(ERR_BUFFER_TOO_LARGE(isolate)); | |
| 500 | + free(data); | ||
| 500 | 501 | return Local<Object>(); | |
| 501 | 502 | } | |
| 502 | 503 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments