mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-11-04 11:22:26 +01:00 
			
		
		
		
	fixed a leaking file descriptor in extract_attachment_content()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		@@ -308,8 +308,8 @@ void extract_attachment_content(struct session_data *sdata, struct parser_state
 | 
			
		||||
            memcpy(&(state->b_body[state->bodylen]), outbuf, n);
 | 
			
		||||
            state->bodylen += n;
 | 
			
		||||
         }
 | 
			
		||||
         //printf("Output: %.*s\n", n, outbuf);
 | 
			
		||||
      }
 | 
			
		||||
      close(link[0]);
 | 
			
		||||
      wait(NULL);
 | 
			
		||||
      return;
 | 
			
		||||
   }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user