Show More
@@ -342,7 +342,7 b' int xdl_do_diff(mmfile_t *mf1, mmfile_t ' | |||
|
342 | 342 | * One is to store the forward path and one to store the backward path. |
|
343 | 343 | */ |
|
344 | 344 | ndiags = xe->xdf1.nreff + xe->xdf2.nreff + 3; |
|
345 |
if (!(kvd = (int64_t *) xdl_malloc((2 * ndiags + 2) * sizeof( |
|
|
345 | if (!(kvd = (int64_t *) xdl_malloc((2 * ndiags + 2) * sizeof(int64_t)))) { | |
|
346 | 346 | |
|
347 | 347 | xdl_free_env(xe); |
|
348 | 348 | return -1; |
@@ -296,9 +296,9 b' static int xdl_prepare_ctx(unsigned int ' | |||
|
296 | 296 | goto abort; |
|
297 | 297 | memset(rchg, 0, (nrec + 2) * sizeof(char)); |
|
298 | 298 | |
|
299 |
if (!(rindex = (int64_t *) xdl_malloc((nrec + 1) * sizeof( |
|
|
299 | if (!(rindex = (int64_t *) xdl_malloc((nrec + 1) * sizeof(int64_t)))) | |
|
300 | 300 | goto abort; |
|
301 |
if (!(ha = (uint64_t *) xdl_malloc((nrec + 1) * sizeof(u |
|
|
301 | if (!(ha = (uint64_t *) xdl_malloc((nrec + 1) * sizeof(uint64_t)))) | |
|
302 | 302 | goto abort; |
|
303 | 303 | |
|
304 | 304 | xdf->nrec = nrec; |
General Comments 0
You need to be logged in to leave comments.
Login now