Changeset 10485 for trunk/FACT++/src


Ignore:
Timestamp:
04/28/11 14:03:25 (14 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.