Fix for bug #447 merged from SDL 1.2

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402408
This commit is contained in:
Sam Lantinga 2007-07-04 08:01:04 +00:00
parent 5d2577791f
commit 1066adb528
4 changed files with 38 additions and 12 deletions

View file

@ -61,10 +61,10 @@ main(int argc, char *argv[])
fprintf(stderr, "FAIL: %s\n", formats[i]);
++errors;
}
if(test[0]) {
if (test[0]) {
SDL_free(test[0]);
}
if(test[1]) {
if (test[1]) {
SDL_free(test[1]);
}
}