mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 17:59:17 +00:00
forgot to free buffer
This commit is contained in:
@@ -103,6 +103,8 @@ void DOpus::ParseXmlBuffer(PWCHAR buffer)
|
|||||||
MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, path, -1, b, size);
|
MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, path, -1, b, size);
|
||||||
|
|
||||||
wcscpy_s(buffer, MAX_PATH, b);
|
wcscpy_s(buffer, MAX_PATH, b);
|
||||||
|
|
||||||
|
delete[] b;
|
||||||
return; // we now cares only the first result
|
return; // we now cares only the first result
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user