CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2016/03/07 15:49:45

Modified files:
        games/fortune/fortune: fortune.c 

Log message:
eliminate do_malloc() and do_free().

These are wrappers for malloc(3) and free(3) with NULL checks. do_free()
is pointless since free() already checks for NULL.  do_malloc() is used
only three times, once asprintf(3) seems more appropriate, and for just
two calls the benefit of a custom wrapper is minimal.

ok millert@

Reply via email to