Fix a use-after-free bug. (#316256, Alexander Nedotsukov)
2005-09-14 Matthias Clasen <mclasen@redhat.com> * gtk/updateiconcache.c (foreach_remove_func): Fix a use-after-free bug. (#316256, Alexander Nedotsukov)
This commit is contained in:
		
				
					committed by
					
						
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							463aab93dd
						
					
				
				
					commit
					7d416fec1b
				
			@ -1,3 +1,8 @@
 | 
			
		||||
2005-09-14  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* gtk/updateiconcache.c (foreach_remove_func): Fix
 | 
			
		||||
	a use-after-free bug.  (#316256, Alexander Nedotsukov)
 | 
			
		||||
 | 
			
		||||
2005-09-13  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* gtk/*.c: Various cleanups.  (#315360, Kjartan Maraas)
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,8 @@
 | 
			
		||||
2005-09-14  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* gtk/updateiconcache.c (foreach_remove_func): Fix
 | 
			
		||||
	a use-after-free bug.  (#316256, Alexander Nedotsukov)
 | 
			
		||||
 | 
			
		||||
2005-09-13  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* gtk/*.c: Various cleanups.  (#315360, Kjartan Maraas)
 | 
			
		||||
 | 
			
		||||
@ -144,9 +144,9 @@ foreach_remove_func (gpointer key, gpointer value, gpointer user_data)
 | 
			
		||||
  if (image->flags == HAS_ICON_FILE)
 | 
			
		||||
    {
 | 
			
		||||
      g_free (key);
 | 
			
		||||
      g_free (image);
 | 
			
		||||
      g_free (image->attach_points);
 | 
			
		||||
      g_strfreev (image->display_names);
 | 
			
		||||
      g_free (image);
 | 
			
		||||
 | 
			
		||||
      return TRUE;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user