google / node-gles

Apache License 2.0
324 stars 32 forks source link

Fix log buffer size and free it after use #58

Closed rnconrad closed 5 years ago

rnconrad commented 5 years ago

The + 1 isn't needed as the length provided by glGetProgramiv includes the null terminator. The length expected by napi_create_string_utf8 is just the string length (without the null terminator), which is set by glGetProgramInfoLog.


This change is Reviewable