From 626463a13ee5a1bd102da5a326b05b4ffcbc2e04 Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 29 Jan 2021 17:40:14 +1000 Subject: [PATCH] Fix a bug where a base node is being uninitialized twice. --- research/miniaudio_engine.h | 1 - 1 file changed, 1 deletion(-) diff --git a/research/miniaudio_engine.h b/research/miniaudio_engine.h index 57d34a0e..3110d53d 100644 --- a/research/miniaudio_engine.h +++ b/research/miniaudio_engine.h @@ -10324,7 +10324,6 @@ MA_API void ma_engine_node_uninit(ma_engine_node* pEngineNode, const ma_allocati /* Now that the node has been uninitialized we can safely uninitialize the rest. */ ma_resampler_uninit(&pEngineNode->resampler); - ma_node_uninit(&pEngineNode->baseNode, pAllocationCallbacks); }