Your faithfully:

    I use malloc to allocate memories to 1d or 2d array,  if I use function 
free(array), error "Caught signal number 11 SEGV: Segmentation Violation, 
probably memory access out of range" always appear,.

     However, if I use PetscFree(array), there are no errors? could do you 
please tell me why? 

your sincerely

LV CHAO

2014/3/13





Reply via email to