mdbx-windows: fix mdbx_strdup() usage.

Fix commit e229dbe9dc (12 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43).

Change-Id: Ic63864d736319ccba37518a50590f4e21282a451
This commit is contained in:
Leonid Yuriev
2018-10-14 17:28:00 +03:00
parent ae83982811
commit 582adda628
3 changed files with 4 additions and 4 deletions

View File

@@ -164,7 +164,7 @@ static walk_dbi_t *pagemap_lookup_dbi(const char *dbi_name, bool silent) {
return NULL;
}
dbi->name = strdup(dbi_name);
dbi->name = mdbx_strdup(dbi_name);
if (verbose > 1 && !silent) {
print(" - found '%s' area\n", dbi_name);
fflush(NULL);