Fix double uio_close().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3083 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -257,8 +257,6 @@ uio_mountDir(uio_Repository *destRep, const char *mountPoint,
|
|||||||
#endif /* BACKSLASH_IS_PATH_SEPARATOR */
|
#endif /* BACKSLASH_IS_PATH_SEPARATOR */
|
||||||
uio_PDirHandle_unref(endDirHandle);
|
uio_PDirHandle_unref(endDirHandle);
|
||||||
uio_PRoot_unrefMount(pRoot);
|
uio_PRoot_unrefMount(pRoot);
|
||||||
if (handle)
|
|
||||||
uio_close(handle);
|
|
||||||
errno = ENOENT;
|
errno = ENOENT;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user