mirror of
				git://erdgeist.org/opentracker
				synced 2025-11-04 11:53:22 +08:00 
			
		
		
		
	Fixed memleak in example httpd :/
This commit is contained in:
		
							parent
							
								
									6286c1cea5
								
							
						
					
					
						commit
						de03db7dcd
					
				@ -429,7 +429,7 @@ emerge:
 | 
				
			|||||||
                {
 | 
					                {
 | 
				
			||||||
                    array_trunc(&h->r);
 | 
					                    array_trunc(&h->r);
 | 
				
			||||||
                    iob_reset(&h->iob);
 | 
					                    iob_reset(&h->iob);
 | 
				
			||||||
                    free(h->hdrbuf); h->hdrbuf=0;
 | 
					                    free(h->hdrbuf); h->hdrbuf=0; free(h);
 | 
				
			||||||
                    io_close(i);
 | 
					                    io_close(i);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user