Browse Source

Fix build when DGL_FILE_BROWSER_DISABLED is defined (#293)

* Fix build with DGL_FILE_BROWSER_DISABLED

* Check for !DISTRHO_PLUGIN_HAS_EXTERNAL_UI too
pull/295/head
Patrick Desaulniers GitHub 3 years ago
parent
commit
6181be3fd8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      distrho/src/DistrhoUIPrivateData.hpp

+ 2
- 0
distrho/src/DistrhoUIPrivateData.hpp View File

@@ -152,7 +152,9 @@ struct UI::PrivateData {

~PrivateData() noexcept
{
#if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI && !defined(DGL_FILE_BROWSER_DISABLED)
std::free(uiStateFileKeyRequest);
#endif
}

void editParamCallback(const uint32_t rindex, const bool started)


Loading…
Cancel
Save