Fix leaking the old entry name when renaming actually succeeds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30891 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2fc5fcd1ad
commit
588b9abc12
@ -1161,6 +1161,7 @@ overlay_rename(fs_volume *volume, fs_vnode *vnode,
|
||||
return result;
|
||||
}
|
||||
|
||||
free(oldName);
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user