diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/prefsparser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prefsparser.cc b/src/prefsparser.cc index de0e9225..d01dcac5 100644 --- a/src/prefsparser.cc +++ b/src/prefsparser.cc @@ -87,7 +87,7 @@ static int parseOption(char *name, char *value, for (i = 0; i < dList_length(lp); i++) { void *data = dList_nth_data(lp, i); dList_remove(lp, data); - dFree(dList_nth_data(lp, i)); + dFree(data); } } dList_append(lp, dStrdup(value)); |