This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit cb4dd444b447f3269ce560245ba16bfa512489d7
Author: Mathieu Schroeter <math...@schroetersa.ch>
Date:   Sun Nov 26 21:57:04 2017 +0100

    Fix renderer memleak
---
 src/blupi.cxx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/blupi.cxx b/src/blupi.cxx
index f7bf031..980073c 100644
--- a/src/blupi.cxx
+++ b/src/blupi.cxx
@@ -993,6 +993,9 @@ main (int argc, char * argv[])
       break;
   }
 
+  if (g_renderer)
+    SDL_DestroyRenderer (g_renderer);
+
   if (g_window)
     SDL_DestroyWindow (g_window);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/planetblupi.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to