From c39dd9c03996a319fd592e3f137eb602ce5a91e2 Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Tue, 26 May 2009 22:12:30 +0200 Subject: [PATCH] undo: don't double free path --- usr.bin/undo/undo.c | 2 -- 1 file changed, 2 deletions(-) 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); } -- 2.11.4.GIT