flipper-io / flipper

Flipper is a development platform that can be controlled from any programming language.
https://www.flipper.io/
Apache License 2.0
70 stars 15 forks source link

Exhaustively check for unhandled function call errors. #17

Open TravisWhitaker opened 8 years ago

TravisWhitaker commented 8 years ago

I've found lots of things like pointers from malloc/fopen/etc. that aren't checked through the course of adding proper error handling. We should do an exhaustive check for these sorts of things at some point.

harlanhaskins commented 8 years ago

Some kind of xmalloc would be good. perror and exit

TravisWhitaker commented 8 years ago

Using things like xmalloc will make interfacing with things that need to clean up after themselves (e.g. language runtimes) untenable.