/[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 1117 by gross, Wed Mar 14 00:15:24 2007 UTC revision 1118 by gross, Tue Apr 24 08:55:04 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) {
150         printf("Paso_SystemMatrix_dealloc %d: %d\n",in,in->reference_counter);
151       in->reference_counter--;       in->reference_counter--;
152       if (in->reference_counter<=0) {       if (in->reference_counter<=0) {
153            printf("Paso_SystemMatrix_dealloc %d: system matrix as been deallocated.\n",in);
154          MEMFREE(in->val);          MEMFREE(in->val);
155          MEMFREE(in->normalizer);          MEMFREE(in->normalizer);
156          Paso_SystemMatrixPattern_dealloc(in->pattern);          Paso_SystemMatrixPattern_dealloc(in->pattern);

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

  ViewVC Help
Powered by ViewVC 1.1.26