diff options
Diffstat (limited to 'examples/alffplay.cpp')
-rw-r--r-- | examples/alffplay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp index 623e59b1..42987b86 100644 --- a/examples/alffplay.cpp +++ b/examples/alffplay.cpp @@ -852,11 +852,11 @@ int AudioState::handler() lock.lock(); } -finish: alSourceRewind(mSource); alSourcei(mSource, AL_BUFFER, 0); - av_freep(&mSamples); +finish: + av_freep(&samples); return 0; } |