mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-03 14:49:22 +00:00
Fixed some memory leaks. Only one was mine ;P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7392 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
017735b9ff
commit
f8620fcd0b
18 changed files with 89 additions and 99 deletions
|
@ -114,7 +114,7 @@ void TexDecoder_OpenCL_Initialize()
|
|||
else
|
||||
{
|
||||
binary_size = input.GetSize();
|
||||
header = new char[HEADER_SIZE];
|
||||
header = new char[HEADER_SIZE]; // TODO: memleak possible
|
||||
binary = new char[binary_size];
|
||||
input.ReadBytes(header, HEADER_SIZE);
|
||||
input.ReadBytes(binary, binary_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue