From: Simon Schubert Date: Tue, 26 May 2009 20:12:30 +0000 (+0200) Subject: undo: don't double free path X-Git-Tag: v2.3.2~235^2~17 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/c39dd9c03996a319fd592e3f137eb602ce5a91e2 undo: don't double free path --- diff --git a/usr.bin/undo/undo.c b/usr.bin/undo/undo.c index 1e4c2b75ee..2005a3b2df 100644 --- a/usr.bin/undo/undo.c +++ b/usr.bin/undo/undo.c @@ -365,8 +365,6 @@ doiterate(const char *filename, const char *outFileName, printf("%s: ITERATE ENTIRE HISTORY: %s\n", filename, strerror(error)); } - if (path) - free(path); clean_tree(&dir_tree); clean_tree(&tse_tree); }