search for: free_namelist

Displaying 1 result from an estimated 1 matches for "free_namelist".

2011 Jun 26
0
[PATCH] mkfs.btrfs: Fix compilation errors with gcc 4.6
...->path)) { fprintf(stderr, "chdir error for %s\n", parent_dir_name); - goto fail; + goto fail_no_files; } count = scandir(parent_dir_entry->path, &files, @@ -996,6 +996,7 @@ static int traverse_directory(struct btrfs_trans_handle *trans, return 0; fail: free_namelist(files, count); +fail_no_files: free(parent_dir_entry->path); free(parent_dir_entry); return -1; -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel....