2015-03-22 12:57 GMT+02:00 Marius Ungureanu <therzok at gmail.com>: > int *array1 = malloc(size1 * sizeof(int)); > DIE(!array1, "malloc1 fail"); /* Asta e ok. */ > int *array2 = malloc(size2 * sizeof(int)); > DIE(!array2, "malloc2 fail"); /* Valgrind spune ca array1 e leaked. */ Am uitat sa mentionez. Presupunem ca al doilea malloc a esuat. Marius