tccpe: fclose FILE*
Reported by Martin Ettl (thanks)
This commit is contained in:
		
							parent
							
								
									a26bf10de3
								
							
						
					
					
						commit
						a5279b2c05
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								tccpe.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								tccpe.c
									
										
									
									
									
								
							| 
						 | 
					@ -974,6 +974,8 @@ ST_FN void pe_build_exports(struct pe_info *pe)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    pe->exp_size = pe->thunk->data_offset - pe->exp_offs;
 | 
					    pe->exp_size = pe->thunk->data_offset - pe->exp_offs;
 | 
				
			||||||
    dynarray_reset(&sorted, &sym_count);
 | 
					    dynarray_reset(&sorted, &sym_count);
 | 
				
			||||||
 | 
					    if (op)
 | 
				
			||||||
 | 
					        fclose(op);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* ------------------------------------------------------------- */
 | 
					/* ------------------------------------------------------------- */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue