9pfs: drop duplicate line in proxy backend
This double free did not cause harm because v9fs_string_free() sets str->data to NULL and g_free(NULL) is valid. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
799fe087e4
commit
da4bc86c54
@ -777,7 +777,6 @@ static int proxy_mkdir(FsContext *fs_ctx, V9fsPath *dir_path,
|
|||||||
errno = -retval;
|
errno = -retval;
|
||||||
retval = -1;
|
retval = -1;
|
||||||
}
|
}
|
||||||
v9fs_string_free(&fullname);
|
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user