Christoph Mallon: Remove pointless if (x) before SDL_free(x)
This commit is contained in:
1 parent
1d2c7796ae
commit
f79fc33a39
63 files changed
+157
-349
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user