test/testautomation_rwops.c
changeset 6814 fccdef204fcf
parent 6781 17a9b53a5ac3
child 6819 afef68703f54
     1.1 --- a/test/testautomation_rwops.c	Sun Jan 13 22:55:26 2013 -0800
     1.2 +++ b/test/testautomation_rwops.c	Mon Jan 14 07:20:55 2013 -0800
     1.3 @@ -332,10 +332,9 @@
     1.4     /* Run generic tests */
     1.5     _testGenericRWopsValidations( rw, 0 );
     1.6  
     1.7 -   /* Close handle */
     1.8 +   /* Close handle - does fclose() */
     1.9     SDL_RWclose(rw);
    1.10     SDLTest_AssertPass("Call to SDL_RWclose() succeeded");
    1.11 -   fclose(fp);
    1.12  
    1.13     return TEST_COMPLETED;
    1.14  }
    1.15 @@ -376,10 +375,9 @@
    1.16     /* Run generic tests */
    1.17     _testGenericRWopsValidations( rw, 1 );
    1.18  
    1.19 -   /* Close handle */
    1.20 +   /* Close handle - does fclose() */
    1.21     SDL_RWclose(rw);
    1.22     SDLTest_AssertPass("Call to SDL_RWclose() succeeded");
    1.23 -   fclose(fp);
    1.24  
    1.25     return TEST_COMPLETED;
    1.26  }