Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define MALLOC(ret, size) do { \
- ret = malloc(size); \
- if (!ret) { \
- perror("malloc failed"); \
- goto err; \
- } \
- } while (0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement