Changeset 60


Ignore:
Timestamp:
Nov 18, 2009 7:19:17 AM (10 years ago)
Author:
awalther
Message:

fix memory deallocation in uni5_for.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/uni5_for.c

    r58 r60  
    614614   
    615615  */
    616 #define depcheck -1
    617616#endif
    618617#else
     
    923922                " to forward is\ninconsistent with number "
    924923                "recorded on tape (%d, %d) \n", tnum,
     924                1, indcheck,
    925925                ADOLC_CURRENT_TAPE_INFOS.stats[NUM_DEPENDENTS],
    926                 ADOLC_CURRENT_TAPE_INFOS.stats[NUM_INDEPENDENTS],
    927                 1, indcheck);
     926                ADOLC_CURRENT_TAPE_INFOS.stats[NUM_INDEPENDENTS]);
    928927        exit (-1);
    929928    }
    930929#endif
     930
    931931
    932932    /****************************************************************************/
     
    10631063     
    10641064      switch (operation) {
    1065 
     1065   
    10661066
    10671067                /****************************************************************************/
     
    37063706    end_sweep();
    37073707
     3708
    37083709#if defined(_INDO_)
    37093710
     
    37203721            temp1 = nonl_dom[i];
    37213722            temp = nonl_dom[i]->next;
     3723            crs[i][0] = nonl_dom[i]->entry;
    37223724            free(temp1);
    3723             crs[i][0] = nonl_dom[i]->entry;
    37243725            for(l=1;l<=crs[i][0];l++) {
    37253726                crs[i][l] = temp->entry;
Note: See TracChangeset for help on using the changeset viewer.