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:
Michael Lotz 2009-05-28 02:39:25 +00:00
parent 2fc5fcd1ad
commit 588b9abc12

View File

@ -1161,6 +1161,7 @@ overlay_rename(fs_volume *volume, fs_vnode *vnode,
return result;
}
free(oldName);
return B_OK;
}