cheese r681 - in trunk: . src



Author: dgsiegel
Date: Fri Apr 25 16:36:31 2008
New Revision: 681
URL: http://svn.gnome.org/viewvc/cheese?rev=681&view=rev

Log:
fix invalid free in cheese, fixes bug #529467, courtesy of Matthias Clasen


Modified:
   trunk/ChangeLog
   trunk/src/cheese-window.c

Modified: trunk/src/cheese-window.c
==============================================================================
--- trunk/src/cheese-window.c	(original)
+++ trunk/src/cheese-window.c	Fri Apr 25 16:36:31 2008
@@ -1371,7 +1371,7 @@
 {
   CheeseWindow *cheese_window;
 
-  cheese_window = g_new (CheeseWindow, 1);
+  cheese_window = g_new0 (CheeseWindow, 1);
 
   cheese_window->gconf = cheese_gconf_new ();
   cheese_window->audio_play_counter = 0;



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