Changeset 10485


Ignore:
Timestamp:
Apr 28, 2011, 2:03:25 PM (8 years ago)
Author:
tbretz
Message:
Fixed a valgrind warning about mixing delete and free()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Readline.cc

    r10429 r10485  
    522522        const HIST_ENTRY *e = history_get(p+1);
    523523        if (e && str==e->line)
    524             delete remove_history(p);
     524            free(remove_history(p));
    525525    }
    526526
Note: See TracChangeset for help on using the changeset viewer.