| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
|
||
| if (!conversionResult.result) { | ||
| delete[] baton->{{ arg.name }}; | ||
| // TODO free previously allocated memory |
There was a problem hiding this comment.
Does this still need to be handled?
Sorry, something went wrong.
There was a problem hiding this comment.
@julianmesa-gitkraken this comment came from you.
Sorry, something went wrong.
There was a problem hiding this comment.
Yes but I will do it in another PR. I need to store all allocated memory in a map, then if I get an error reading javascript arguments we have to release all allocated memory, then throw the error.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
An Alloc-Dealloc Mismatch causes undefined behavior. Kind of a minor problem but should be fixed nonetheless.
for more details
https://stackoverflow.com/a/10854437/4776273