gnome-games r7113 - trunk/libgames-support



Author: andreasr
Date: Sun Jan  6 20:51:13 2008
New Revision: 7113
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7113&view=rev

Log:
Remove comments and memory leak.


Modified:
   trunk/libgames-support/games-sound.c

Modified: trunk/libgames-support/games-sound.c
==============================================================================
--- trunk/libgames-support/games-sound.c	(original)
+++ trunk/libgames-support/games-sound.c	Sun Jan  6 20:51:13 2008
@@ -120,7 +120,7 @@
   }
 
   Mix_PlayChannel(-1, wave, 0); 
-
+  g_free(fullpath);
 }
 #endif /* HAVE_SDL_MIXER */
 
@@ -151,8 +151,6 @@
     return;
   }
 
- //Mix_AllocateChannels(MIX_CHANNELS);
-
 #endif /* HAVE_SDL_MIXER */
 
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]