Module Name: src Committed By: christos Date: Sat Dec 14 18:04:56 UTC 2013
Modified Files: src/lib/libc/db/btree: bt_overflow.c bt_utils.c src/lib/libc/db/recno: rec_get.c rec_put.c rec_utils.c Log Message: It's been many years since realloc(NULL, size) == malloc(size). Also don't destroy pointers on allocation errors so someone can free them later. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/db/btree/bt_overflow.c cvs rdiff -u -r1.15 -r1.16 src/lib/libc/db/btree/bt_utils.c cvs rdiff -u -r1.16 -r1.17 src/lib/libc/db/recno/rec_get.c cvs rdiff -u -r1.20 -r1.21 src/lib/libc/db/recno/rec_put.c cvs rdiff -u -r1.13 -r1.14 src/lib/libc/db/recno/rec_utils.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.