Browse Source

Update raudio.c

raysan5 3 years ago
parent
commit
423fdb320a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/raudio.c

+ 1 - 1
src/raudio.c

@@ -862,7 +862,7 @@ Sound LoadSoundFromWave(Wave wave)
 // Unload wave data
 void UnloadWave(Wave wave)
 {
-    if (wave.data != NULL) RL_FREE(wave.data);
+    RL_FREE(wave.data);
     //TRACELOG(LOG_INFO, "WAVE: Unloaded wave data from RAM");
 }