cgfsng: recursive_count_nrtasks()

parent affd10fa
...@@ -2288,7 +2288,7 @@ static int recursive_count_nrtasks(char *dirname) ...@@ -2288,7 +2288,7 @@ static int recursive_count_nrtasks(char *dirname)
goto next; goto next;
count += recursive_count_nrtasks(path); count += recursive_count_nrtasks(path);
next: next:
free(path); free(path);
} }
...@@ -2298,7 +2298,7 @@ next: ...@@ -2298,7 +2298,7 @@ next:
count += ret; count += ret;
free(path); free(path);
(void) closedir(dir); (void)closedir(dir);
return count; return count;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment