Post-merge fix: remove dup() call in ha_archive.cc which resulted in a memory leak.

parent 453c5c5a
......@@ -728,7 +728,7 @@ int ha_archive::create(const char *name, TABLE *table_arg,
goto error;
}
}
if (!azdopen(&archive, dup(create_file), O_WRONLY|O_BINARY))
if (!azdopen(&archive, create_file, O_WRONLY|O_BINARY))
{
error= errno;
goto error2;
......
Markdown is supported
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