diff options
| author | Markus Wick <markus+github@selfnet.de> | 2015-01-31 23:06:21 +0100 |
|---|---|---|
| committer | Markus Wick <markus+github@selfnet.de> | 2015-01-31 23:06:21 +0100 |
| commit | ca5e2e6f1615a7243dbf936c06cf6d0b6bf8310a (patch) | |
| tree | eac60a08424c9fdca1c21c535c057b0611387ba9 /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 22e27ffd23ee2aa5dc1c7bf36728cc3bff4abd7e (diff) | |
| parent | 9476756d4388c6e5f639f5cbf979612bff856293 (diff) | |
Merge pull request #1989 from lioncash/leak
OGL: Fix a memory leak that would occur every time a game is launched
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index 8f7c06c5a8..004ae5e2bf 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -163,6 +163,7 @@ void VideoSoftware::Shutdown() OSD::DoCallbacks(OSD::OSD_SHUTDOWN); GLInterface->Shutdown(); + delete GLInterface; } void VideoSoftware::Video_Cleanup() |
