mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Merge remote-tracking branch 'timowiren/master'
This commit is contained in:
commit
48eb791a4e
3 changed files with 7 additions and 6 deletions
|
@ -114,7 +114,7 @@ void TexDecoder_OpenCL_Initialize()
|
|||
else
|
||||
{
|
||||
binary_size = input.GetSize();
|
||||
header = new char[HEADER_SIZE]; // TODO: memleak possible
|
||||
header = new char[HEADER_SIZE];
|
||||
binary = new char[binary_size];
|
||||
input.ReadBytes(header, HEADER_SIZE);
|
||||
input.ReadBytes(binary, binary_size);
|
||||
|
@ -143,8 +143,8 @@ void TexDecoder_OpenCL_Initialize()
|
|||
}
|
||||
}
|
||||
}
|
||||
delete header;
|
||||
delete binary;
|
||||
delete [] header;
|
||||
delete [] binary;
|
||||
}
|
||||
|
||||
// If an error occurred using the kernel binary, recompile the kernels
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue