* Wrong delete. Thanks valgrind.
This commit is contained in:
		
							parent
							
								
									b90787290d
								
							
						
					
					
						commit
						b602d2dfdf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -78,7 +78,7 @@ void checkPath(const string & path,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        search(string((char *) buf, st.st_size), ids, seen);
 | 
					        search(string((char *) buf, st.st_size), ids, seen);
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        delete buf; /* !!! autodelete */
 | 
					        delete[] buf; /* !!! autodelete */
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    else if (S_ISLNK(st.st_mode))
 | 
					    else if (S_ISLNK(st.st_mode))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue