mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	glocalfile: Fix another leak in g_local_file_set_display_name()
Signed-off-by: Philip Withnall <pwithnall@gnome.org> Fixes: #3721
This commit is contained in:
		@@ -1197,6 +1197,7 @@ g_local_file_set_display_name (GFile         *file,
 | 
			
		||||
    {
 | 
			
		||||
      g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_EXISTS,
 | 
			
		||||
                           _("Can’t rename file, filename already exists"));
 | 
			
		||||
      g_object_unref (new_file);
 | 
			
		||||
      return NULL;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user