From 537c4ca36c387682c8bd25da09ee2f4933e0cef1 Mon Sep 17 00:00:00 2001 From: David Reid Date: Tue, 5 Sep 2023 06:48:49 +1000 Subject: [PATCH] Update the simple_playback_sine example. --- examples/simple_playback_sine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/simple_playback_sine.c b/examples/simple_playback_sine.c index 32c10c97..ab1f25fb 100644 --- a/examples/simple_playback_sine.c +++ b/examples/simple_playback_sine.c @@ -83,6 +83,7 @@ int main(int argc, char** argv) #endif ma_device_uninit(&device); + ma_waveform_uninit(&sineWave); /* Uninitialize the waveform after the device so we don't pull it from under the device while it's being reference in the data callback. */ (void)argc; (void)argv;