GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

Hedgewars: Find out what is causing this problem

completed by: Drew Gottlieb

mentors: Andrey Korotaev, Xeli, koda

Remember to join our IRC channel when working on this task! We are on #hedgewars at If you are new to IRC, read this tutorial from a past GCI participant.

Your task

On OS X when you exit the application you get a lot of messages like 2012-11-19 01:58:14.542 hedgewars[56701:903] *** __NSAutoreleaseNoPool(): Object 0x102e51070 of class NSCFArray autoreleased with no pool in place - just leaking If you debug Hedgewars, you'll get a backtrace pointing to #15 0x00000001000cf0d8 in SDLInteraction::~SDLInteraction (this=0x1003ab8a0) at /Users/vittorio/hedgewars/trunk/QTfrontend/util/SDLInteraction.cpp:73

Can you find out what's wrong and how this leak should be fixed?


A few pages in document format, describing the solution for the stated problem. Provide any code if available