ntfs: fix double free #8484

This commit is contained in:
Jérôme Duval 2012-06-05 21:55:41 +02:00
parent 966df2f98b
commit 75d1324b91

View File

@ -965,8 +965,6 @@ fs_create(fs_volume *_vol, fs_vnode *_dir, const char *name, int omode,
result = errno;
}
free(uname);
exit:
if (result >= B_OK)
*_cookie = cookie;