mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	dtcm: Coverity 87745 and 88154
This commit is contained in:
		
							parent
							
								
									dfa296e34e
								
							
						
					
					
						commit
						4be7b85e01
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -145,13 +145,13 @@ br_display(Calendar *c) {
 | 
			
		|||
	for (i = 0; i < pos_cnt; i++) {
 | 
			
		||||
		bd = (BlistData *)CmDataListGetData(bl->blist_data,
 | 
			
		||||
						    pos_list[i]);
 | 
			
		||||
		if (bd) {
 | 
			
		||||
			destroy_paint_cache(bd->cache, bd->cache_size);
 | 
			
		||||
			bd->cache = NULL;
 | 
			
		||||
			bd->cache_size = 0;
 | 
			
		||||
 | 
			
		||||
		destroy_paint_cache(bd->cache, bd->cache_size);
 | 
			
		||||
		bd->cache = NULL;
 | 
			
		||||
		bd->cache_size = 0;
 | 
			
		||||
 | 
			
		||||
		if (bd)
 | 
			
		||||
			mb_update_array(bd->name, c);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	if (pos_list)
 | 
			
		||||
		XtFree((XtPointer)pos_list);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue