mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
PipeWire: Fix an error when runtime linking is disabled.
This commit is contained in:
@@ -1687,8 +1687,12 @@ static void ma_context_uninit__pipewire(ma_context* pContext)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Close the handle to the PipeWire shared object last. */
|
/* Close the handle to the PipeWire shared object last. */
|
||||||
ma_dlclose(ma_context_get_log(pContext), pContextStatePipeWire->hPipeWire);
|
#ifndef MA_NO_RUNTIME_LINKING
|
||||||
pContextStatePipeWire->hPipeWire = NULL;
|
{
|
||||||
|
ma_dlclose(ma_context_get_log(pContext), pContextStatePipeWire->hPipeWire);
|
||||||
|
pContextStatePipeWire->hPipeWire = NULL;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
ma_free(pContextStatePipeWire, ma_context_get_allocation_callbacks(pContext));
|
ma_free(pContextStatePipeWire, ma_context_get_allocation_callbacks(pContext));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user