Ignore:
Timestamp:
Dec 28, 2016, 7:21:28 PM (3 years ago)
Author:
nmedfort
Message:

Cleaned up memory leaks + some warning messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_engine.cpp

    r5238 r5240  
    446446}
    447447
    448 GrepEngine::~GrepEngine() {
    449 //    delete mEngine;
    450 }
    451 
    452448static int * total_count;
    453449static std::stringstream * resultStrs = nullptr;
     
    617613}
    618614
     615GrepEngine::GrepEngine()
     616: mGrepFunction(nullptr)
     617, mGrepFunction_CountOnly(nullptr)
     618, mGrepFunction_CPU(nullptr)
     619, mGrepType(GrepType::Normal)
     620, mEngine(nullptr) {
     621
     622}
     623
     624GrepEngine::~GrepEngine() {
     625    delete mEngine;
     626}
Note: See TracChangeset for help on using the changeset viewer.