napi: supress invalid coverity leak message
Coverity was complaining that finalizer was being leaked in this method, however it should be freed when the buffer is finalized so I believe the message is invalid.
I don't think we can test this locally, but based on some googling and looking were the same comment is used in src/node.cc I think this should do the trick.
Add the required comments to suppress the warning.
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows [commit guidelines][]
Affected core subsystem(s)
napi