/[escript]/trunk/paso/src/SystemMatrix.c
ViewVC logotype

Diff of /trunk/paso/src/SystemMatrix.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1118 by gross, Tue Apr 24 08:55:04 2007 UTC revision 1119 by gross, Tue Apr 24 08:58:05 2007 UTC
# Line 147  Paso_SystemMatrix* Paso_SystemMatrix_ref Line 147  Paso_SystemMatrix* Paso_SystemMatrix_ref
147    
148  void Paso_SystemMatrix_dealloc(Paso_SystemMatrix* in) {  void Paso_SystemMatrix_dealloc(Paso_SystemMatrix* in) {
149    if (in!=NULL) {    if (in!=NULL) {
      printf("Paso_SystemMatrix_dealloc %d: %d\n",in,in->reference_counter);  
150       in->reference_counter--;       in->reference_counter--;
151       if (in->reference_counter<=0) {       if (in->reference_counter<=0) {
         printf("Paso_SystemMatrix_dealloc %d: system matrix as been deallocated.\n",in);  
152          MEMFREE(in->val);          MEMFREE(in->val);
153          MEMFREE(in->normalizer);          MEMFREE(in->normalizer);
154          Paso_SystemMatrixPattern_dealloc(in->pattern);          Paso_SystemMatrixPattern_dealloc(in->pattern);

Legend:
Removed from v.1118  
changed lines
  Added in v.1119

  ViewVC Help
Powered by ViewVC 1.1.26