Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ingo Voss
OpenLDAP
Commits
60580aa6
Commit
60580aa6
authored
Feb 04, 2016
by
Hallvard Furuseth
Committed by
Howard Chu
Feb 04, 2016
Browse files
ITS
#7992
Fix memleak in prev change
parent
ea7d99d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
60580aa6
...
...
@@ -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
,
FILE_FLAG_NO_BUFFERING
|
FILE_FLAG_WRITE_THROUGH
,
NULL
);
free
(
wpath
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment