Fix for bug #447 merged from SDL 1.2

This commit is contained in:
Sam Lantinga
2007-07-04 08:01:04 +00:00
parent c123a18337
commit bdab6824fd
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]);
}
}