mirror of
https://github.com/isar/libmdbx.git
synced 2025-09-16 03:32:19 +08:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user