Commit 60580aa6 authored by Hallvard Furuseth's avatar Hallvard Furuseth Committed by Howard Chu
Browse files

ITS#7992 Fix memleak in prev change

parent ea7d99d9
......@@ -9295,7 +9295,7 @@ mdb_env_copy2(MDB_env *env, const char *path, unsigned int flags)
#ifdef _WIN32
rc = utf8_to_utf16(lpath, -1, &wpath, NULL);
if (rc)
return rc;
goto leave;
newfd = CreateFileW(wpath, GENERIC_WRITE, 0, NULL, CREATE_NEW,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment