Commit Diff
--- 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(); }