diff options
author | Robin Gareus <robin@gareus.org> | 2016-10-30 17:38:24 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-10-30 17:39:55 +0100 |
commit | db2d238cecdbb0b58f33c5032191a27ac70669dc (patch) | |
tree | fbc21af52f94c093e089459c7a8eb64203d3a9ee /libs/ardour/lv2_plugin.cc | |
parent | 9773cfa92645f8caf8aa524a5e7f45bb4d4d1b24 (diff) |
Update prototype API (3f739738) for windows/dll compat
memory allocated by a .dll must be free()d by the given dll.
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 0892d86c33..94760dc336 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -985,7 +985,7 @@ LV2Plugin::read_midnam () { MIDI::Name::MidiPatchManager::instance().remove_custom_midnam (ss.str()); rv = MIDI::Name::MidiPatchManager::instance().add_custom_midnam (ss.str(), midnam); } - free (midnam); + _midname_interface->free (midnam); return rv; } @@ -999,7 +999,7 @@ LV2Plugin::midnam_model () { if (model) { rv = model; } - free (model); + _midname_interface->free (model); return rv; } #endif |