cgfsng: recursive_count_nrtasks()

parent f283d72b
...@@ -2266,7 +2266,7 @@ static int recursive_count_nrtasks(char *dirname) ...@@ -2266,7 +2266,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);
} }
...@@ -2276,7 +2276,7 @@ next: ...@@ -2276,7 +2276,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