mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
Forgot to duplicate the file name on Windows.
This commit is contained in:
parent
1cff8b6ba9
commit
ff40fde6c9
@ -148,10 +148,13 @@ mm_io_c::mm_io_c(const char *path, const open_mode mode) {
|
||||
_eof = false;
|
||||
if ((HANDLE)file == (HANDLE)0xFFFFFFFF)
|
||||
throw exception();
|
||||
|
||||
file_name = safestrdup(path);
|
||||
}
|
||||
|
||||
mm_io_c::mm_io_c() {
|
||||
file = NULL;
|
||||
safefree(file_name);
|
||||
}
|
||||
|
||||
mm_io_c::~mm_io_c() {
|
||||
|
Loading…
Reference in New Issue
Block a user