Changeset 206


Ignore:
Timestamp:
Mar 29, 2011 11:43:41 AM (9 years ago)
Author:
kulshres
Message:

correct mismatched free for a new'd pointer use delete[]

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/tape_handling.cpp

    r205 r206  
    783783
    784784    if (ADOLC_GLOBAL_TAPE_VARS.store != NULL) {
    785         free(ADOLC_GLOBAL_TAPE_VARS.store);
     785        delete[] ADOLC_GLOBAL_TAPE_VARS.store;
    786786        ADOLC_GLOBAL_TAPE_VARS.store = NULL;
    787787    }
Note: See TracChangeset for help on using the changeset viewer.