test/testiconv.c
changeset 7719 31b5f9ff36ca
parent 7639 9406b7dd2f2d
child 8149 681eb46b8ac4
     1.1 --- a/test/testiconv.c	Thu Aug 29 08:27:25 2013 -0700
     1.2 +++ b/test/testiconv.c	Thu Aug 29 08:29:21 2013 -0700
     1.3 @@ -75,12 +75,8 @@
     1.4                  SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "FAIL: %s\n", formats[i]);
     1.5                  ++errors;
     1.6              }
     1.7 -            if (test[0]) {
     1.8 -                SDL_free(test[0]);
     1.9 -            }
    1.10 -            if (test[1]) {
    1.11 -                SDL_free(test[1]);
    1.12 -            }
    1.13 +            SDL_free(test[0]);
    1.14 +            SDL_free(test[1]);
    1.15          }
    1.16          test[0] = SDL_iconv_string("UTF-8", "UCS-4", ucs4, len);
    1.17          SDL_free(ucs4);