mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-11-04 09:14:58 +00:00 
			
		
		
		
	Fixed memory leak in test harness.
Found by Cppcheck.
This commit is contained in:
		
							parent
							
								
									396b3b8992
								
							
						
					
					
						commit
						4679195dbf
					
				| 
						 | 
				
			
			@ -484,6 +484,7 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user
 | 
			
		|||
        if (suiteFilter == 0 && testFilter == 0) {
 | 
			
		||||
            SDLTest_LogError("Filter '%s' did not match any test suite/case.", filter);
 | 
			
		||||
            SDLTest_Log("Exit code: 2");
 | 
			
		||||
            SDL_free(failedTests);
 | 
			
		||||
            return 2;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue