On Fri, 2015-08-21 at 08:55 +0200, Miroslav Lichvar wrote: > I think an easier and cleaner approach would be to write wrappers for > the strdup/calloc/malloc/realloc functions which just send an error > message and call exit(1) when the allocation fails, and use the > wrappers everywhere in the code. >
Yea, I think this is probably a good call. We could use these everywhere in the code base. Regards, Jake ------------------------------------------------------------------------------ _______________________________________________ Linuxptp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-users
