Fix another leak (via valgrind), this time in cCryptoArchive
This commit is contained in:
		
							parent
							
								
									79933005b7
								
							
						
					
					
						commit
						3481d2622a
					
				| 
						 | 
					@ -117,6 +117,9 @@ cCryptoArchive::~cCryptoArchive()
 | 
				
			||||||
    ASSERT(mAction == MA_UNSTARTED || mAction == MA_UNKNOWN || mAction == MA_FINISHED || mAction == MA_READING);
 | 
					    ASSERT(mAction == MA_UNSTARTED || mAction == MA_UNKNOWN || mAction == MA_FINISHED || mAction == MA_READING);
 | 
				
			||||||
        // check we did not leave a buffer unwritten
 | 
					        // check we did not leave a buffer unwritten
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    Finish();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Finish() normally zeroes these out, but hey.
 | 
				
			||||||
    delete mpDeflator;
 | 
					    delete mpDeflator;
 | 
				
			||||||
    delete mpInflator;
 | 
					    delete mpInflator;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue