diff options
| author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-11-02 17:32:22 -0800 |
|---|---|---|
| committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-11-02 19:25:42 -0800 |
| commit | 64540bc60d86c9cf48b26fd8b181e1b0a5a6400f (patch) | |
| tree | 1b847cddcdffb398b1e6a93406564e3a79141fbd /Source/Core/VideoCommon/OpcodeDecoding.cpp | |
| parent | 204598a0826b3692b8d2dc0c68045b8d95f3b6ef (diff) | |
MemArena: Fix a memory leak caused by pointer confusion
This code was ported from out_ptr, which was a double-pointer, and
wanted to double-check that the proper arena was actually allocated.
When I ported it to store the pointer directly in the view regardless
of whether out_ptr was non-NULL, I got confused here and instead
caused the code to only free the arena if the first byte was non-zero.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
0 files changed, 0 insertions, 0 deletions
