Analyze TuxPaint with Valgrind
completed by: PaulK
mentors: sids.aquarius, perepujal
C programs are prone to crashes from errors in the use of pointers and arrays. Many of these errors can be detected using tools such as Valgrind. For this task, analyze tuxpaint with Valgrind. For each issue identified, either fix it (if the fix is straightforward) or place a FIXME comment in the code describing the error or warning. Note: Be wary of the Valgrind tasks, because SDL in itself (a library that TuxPaint uses) is not perfect and has memory leaks in several places.