summaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-08-20 09:57:32 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-20 09:57:38 -0700
commit8b54c23437834b36bbb5f6de2f577400385da770 (patch)
tree1be1514c35a099216b33574ba10cc51f845f0acc /git-gui
parentGit 2.4.8 (diff)
downloadtgif-8b54c23437834b36bbb5f6de2f577400385da770.tar.xz
ps_matched: xcalloc() takes nmemb and then element size
Even though multiplication is commutative, the order of arguments should be xcalloc(nmemb, size). ps_matched is an array of 1-byte element whose size is the same as the number of pathspec elements. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui')
0 files changed, 0 insertions, 0 deletions