Christoph Mallon: Remove pointless if (x) before SDL_free(x)
This commit is contained in:
parent
edc88be724
commit
08dfaaa2e6
63 changed files with 157 additions and 349 deletions
|
@ -69,9 +69,7 @@ readSymLink(const char *path)
|
|||
len *= 2; /* grow buffer, try again. */
|
||||
}
|
||||
|
||||
if (retval != NULL) {
|
||||
SDL_free(retval);
|
||||
}
|
||||
SDL_free(retval);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue