From: Heng Li Date: Mon, 2 Aug 2010 21:00:41 +0000 (+0000) Subject: fixed a bug X-Git-Url: https://git.donarmstrong.com/?p=samtools.git;a=commitdiff_plain;h=ad3f2c53e975a1fd1406d245aeef8ab211f9ef74 fixed a bug --- diff --git a/bam2bcf.c b/bam2bcf.c index a78e7d2..d61060e 100644 --- a/bam2bcf.c +++ b/bam2bcf.c @@ -191,7 +191,7 @@ int bcf_call_combine(int n, const bcf_callret1_t *calls, int ref_base /*4-bit*/, // set the PL array if (call->n < n) { call->n = n; - call->PL = realloc(call->PL, 6 * n); + call->PL = realloc(call->PL, 10 * n); } { int x, g[6], z;