Commit Diff


commit - d9498b2018a8dfb3527a982ca140d9beb2e52dca
commit + fdb730fe0daaa68f7fb46f49dd64ed01529effc6
blob - b5a1c93ac214af54a1e83bcb21763aee46b40e61
blob + 0f460ce47ab80f6e6fcb7ad69b0f9fbfda890647
--- lib/fileindex.c
+++ lib/fileindex.c
@@ -723,10 +723,8 @@ walk_dir(struct got_pathlist_entry **next, struct got_
 
 		subdir = opendir(subdirpath);
 		if (subdir == NULL) {
-			#if 0
 			free(subpath);
 			free(subdirpath);
-			#endif
 			return got_error_from_errno();
 		}