]> git.ipfire.org Git - thirdparty/git.git/commit - imap-send.c
calloc() and xcalloc() takes nmemb and then size
authorArjun Sreedharan <arjun024@gmail.com>
Sat, 30 Aug 2014 06:54:23 +0000 (12:24 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Sep 2014 21:35:37 +0000 (14:35 -0700)
commit693eb02a5e152668dacc7c6ff0f1c63d70c0a82a
tree8952b72fa82f945bf7335e140509eea935ce25eb
parent96db324a73fdada6fbe7b63221986f8f18cc63b0
calloc() and xcalloc() takes nmemb and then size

There are a handful more instances of this in compat/regex/ but they
are borrowed code taht we do not want to touch with a change that
really affects correctness, which this change is not.

Signed-off-by: Arjun Sreedharan <arjun024@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/for-each-ref.c
imap-send.c