Re: [PATCH] Rename dynamic memory allocation functions to their "x" version
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 10, 2008, 04:11 UTC
- Message-ID
- <7vprnczlkx.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200809092157.10185.dotanba@gmail.com>
Dotan Barak <dotanba@gmail.com> writes:
Show 5 quoted lines
> In places that the standard malloc/strdup is used without checking > if the allocation was successful, I replaced it to xmalloc/xstrdup > which check the memory allocation result. > > Signed-off-by: Dotan Barak <dotanba@gmail.com>
Looks good. Will apply, but I'd retitle it (it is not "rename").
Thanks.