src/filesystem/unix/SDL_sysfilesystem.c
changeset 7719 31b5f9ff36ca
parent 7718 213b9777e988
child 7883 62f562a475e1
     1.1 --- a/src/filesystem/unix/SDL_sysfilesystem.c	Thu Aug 29 08:27:25 2013 -0700
     1.2 +++ b/src/filesystem/unix/SDL_sysfilesystem.c	Thu Aug 29 08:29:21 2013 -0700
     1.3 @@ -69,9 +69,7 @@
     1.4          len *= 2;  /* grow buffer, try again. */
     1.5      }
     1.6  
     1.7 -    if (retval != NULL) {
     1.8 -        SDL_free(retval);
     1.9 -    }
    1.10 +    SDL_free(retval);
    1.11      return NULL;
    1.12  }
    1.13