swh plugins: Fix SWH destructors
The constructors had been fixed with commit #83c2019, but I had missed the destructors. This corrects the `_fini()` destructors as well.
This commit is contained in:
@@ -240,7 +240,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (aliasDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)aliasDescriptor->PortDescriptors);
|
||||
free((char **)aliasDescriptor->PortNames);
|
||||
|
||||
@@ -1346,7 +1346,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (allpass_nDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)allpass_nDescriptor->PortDescriptors);
|
||||
free((char **)allpass_nDescriptor->PortNames);
|
||||
|
||||
@@ -455,7 +455,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (amPitchshiftDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)amPitchshiftDescriptor->PortDescriptors);
|
||||
free((char **)amPitchshiftDescriptor->PortNames);
|
||||
|
||||
@@ -233,7 +233,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (ampDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)ampDescriptor->PortDescriptors);
|
||||
free((char **)ampDescriptor->PortNames);
|
||||
|
||||
@@ -277,7 +277,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (bandpass_a_iirDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)bandpass_a_iirDescriptor->PortDescriptors);
|
||||
free((char **)bandpass_a_iirDescriptor->PortNames);
|
||||
|
||||
@@ -343,7 +343,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (bandpass_iirDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)bandpass_iirDescriptor->PortDescriptors);
|
||||
free((char **)bandpass_iirDescriptor->PortNames);
|
||||
|
||||
@@ -458,7 +458,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (bodeShifterDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)bodeShifterDescriptor->PortDescriptors);
|
||||
free((char **)bodeShifterDescriptor->PortNames);
|
||||
|
||||
@@ -523,7 +523,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (bodeShifterCVDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)bodeShifterCVDescriptor->PortDescriptors);
|
||||
free((char **)bodeShifterCVDescriptor->PortNames);
|
||||
|
||||
@@ -741,7 +741,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (bwxover_iirDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)bwxover_iirDescriptor->PortDescriptors);
|
||||
free((char **)bwxover_iirDescriptor->PortNames);
|
||||
|
||||
@@ -399,7 +399,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (chebstortionDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)chebstortionDescriptor->PortDescriptors);
|
||||
free((char **)chebstortionDescriptor->PortNames);
|
||||
|
||||
@@ -340,7 +340,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (combDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)combDescriptor->PortDescriptors);
|
||||
free((char **)combDescriptor->PortNames);
|
||||
|
||||
@@ -1352,7 +1352,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (comb_nDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)comb_nDescriptor->PortDescriptors);
|
||||
free((char **)comb_nDescriptor->PortNames);
|
||||
|
||||
@@ -341,7 +341,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (combSplitterDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)combSplitterDescriptor->PortDescriptors);
|
||||
free((char **)combSplitterDescriptor->PortNames);
|
||||
|
||||
@@ -250,7 +250,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (constDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)constDescriptor->PortDescriptors);
|
||||
free((char **)constDescriptor->PortNames);
|
||||
|
||||
@@ -276,7 +276,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (crossoverDistDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)crossoverDistDescriptor->PortDescriptors);
|
||||
free((char **)crossoverDistDescriptor->PortNames);
|
||||
|
||||
@@ -235,7 +235,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (dcRemoveDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)dcRemoveDescriptor->PortDescriptors);
|
||||
free((char **)dcRemoveDescriptor->PortNames);
|
||||
|
||||
@@ -325,7 +325,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (decayDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)decayDescriptor->PortDescriptors);
|
||||
free((char **)decayDescriptor->PortNames);
|
||||
|
||||
@@ -335,7 +335,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (decimatorDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)decimatorDescriptor->PortDescriptors);
|
||||
free((char **)decimatorDescriptor->PortNames);
|
||||
|
||||
@@ -235,7 +235,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (declipDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)declipDescriptor->PortDescriptors);
|
||||
free((char **)declipDescriptor->PortNames);
|
||||
|
||||
@@ -1093,7 +1093,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (delay_nDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)delay_nDescriptor->PortDescriptors);
|
||||
free((char **)delay_nDescriptor->PortNames);
|
||||
|
||||
@@ -847,7 +847,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (delayoramaDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)delayoramaDescriptor->PortDescriptors);
|
||||
free((char **)delayoramaDescriptor->PortNames);
|
||||
|
||||
@@ -264,7 +264,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (diodeDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)diodeDescriptor->PortDescriptors);
|
||||
free((char **)diodeDescriptor->PortNames);
|
||||
|
||||
@@ -331,7 +331,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (dividerDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)dividerDescriptor->PortDescriptors);
|
||||
free((char **)dividerDescriptor->PortNames);
|
||||
|
||||
@@ -674,7 +674,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (dj_eq_monoDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)dj_eq_monoDescriptor->PortDescriptors);
|
||||
free((char **)dj_eq_monoDescriptor->PortNames);
|
||||
|
||||
@@ -472,7 +472,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (djFlangerDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)djFlangerDescriptor->PortDescriptors);
|
||||
free((char **)djFlangerDescriptor->PortNames);
|
||||
|
||||
@@ -885,7 +885,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (dysonCompressDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)dysonCompressDescriptor->PortDescriptors);
|
||||
free((char **)dysonCompressDescriptor->PortNames);
|
||||
|
||||
@@ -388,7 +388,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (fadDelayDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)fadDelayDescriptor->PortDescriptors);
|
||||
free((char **)fadDelayDescriptor->PortNames);
|
||||
|
||||
@@ -703,7 +703,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (fastLookaheadLimiterDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)fastLookaheadLimiterDescriptor->PortDescriptors);
|
||||
free((char **)fastLookaheadLimiterDescriptor->PortNames);
|
||||
|
||||
@@ -544,7 +544,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (flangerDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)flangerDescriptor->PortDescriptors);
|
||||
free((char **)flangerDescriptor->PortNames);
|
||||
|
||||
@@ -255,7 +255,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (foldoverDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)foldoverDescriptor->PortDescriptors);
|
||||
free((char **)foldoverDescriptor->PortNames);
|
||||
|
||||
@@ -234,7 +234,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (foverdriveDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)foverdriveDescriptor->PortDescriptors);
|
||||
free((char **)foverdriveDescriptor->PortNames);
|
||||
|
||||
@@ -319,7 +319,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (freqTrackerDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)freqTrackerDescriptor->PortDescriptors);
|
||||
free((char **)freqTrackerDescriptor->PortNames);
|
||||
|
||||
@@ -582,7 +582,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (gateDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)gateDescriptor->PortDescriptors);
|
||||
free((char **)gateDescriptor->PortNames);
|
||||
|
||||
@@ -637,7 +637,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (giantFlangeDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)giantFlangeDescriptor->PortDescriptors);
|
||||
free((char **)giantFlangeDescriptor->PortNames);
|
||||
|
||||
@@ -947,7 +947,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (gongDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)gongDescriptor->PortDescriptors);
|
||||
free((char **)gongDescriptor->PortNames);
|
||||
|
||||
@@ -400,7 +400,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (gongBeaterDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)gongBeaterDescriptor->PortDescriptors);
|
||||
free((char **)gongBeaterDescriptor->PortNames);
|
||||
|
||||
@@ -493,7 +493,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (gsmDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)gsmDescriptor->PortDescriptors);
|
||||
free((char **)gsmDescriptor->PortNames);
|
||||
|
||||
@@ -429,7 +429,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (gverbDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)gverbDescriptor->PortDescriptors);
|
||||
free((char **)gverbDescriptor->PortNames);
|
||||
|
||||
@@ -286,7 +286,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (hardLimiterDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)hardLimiterDescriptor->PortDescriptors);
|
||||
free((char **)hardLimiterDescriptor->PortNames);
|
||||
|
||||
@@ -542,7 +542,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (harmonicGenDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)harmonicGenDescriptor->PortDescriptors);
|
||||
free((char **)harmonicGenDescriptor->PortNames);
|
||||
|
||||
@@ -1998,7 +1998,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (hermesFilterDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)hermesFilterDescriptor->PortDescriptors);
|
||||
free((char **)hermesFilterDescriptor->PortNames);
|
||||
|
||||
@@ -278,7 +278,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (highpass_iirDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)highpass_iirDescriptor->PortDescriptors);
|
||||
free((char **)highpass_iirDescriptor->PortNames);
|
||||
|
||||
@@ -316,7 +316,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (hilbertDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)hilbertDescriptor->PortDescriptors);
|
||||
free((char **)hilbertDescriptor->PortNames);
|
||||
|
||||
@@ -628,7 +628,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (impDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)impDescriptor->PortDescriptors);
|
||||
free((char **)impDescriptor->PortNames);
|
||||
|
||||
@@ -257,7 +257,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (impulse_fcDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)impulse_fcDescriptor->PortDescriptors);
|
||||
free((char **)impulse_fcDescriptor->PortNames);
|
||||
|
||||
@@ -207,7 +207,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (invDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)invDescriptor->PortDescriptors);
|
||||
free((char **)invDescriptor->PortNames);
|
||||
|
||||
@@ -274,7 +274,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (karaokeDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)karaokeDescriptor->PortDescriptors);
|
||||
free((char **)karaokeDescriptor->PortNames);
|
||||
|
||||
@@ -259,7 +259,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (artificialLatencyDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)artificialLatencyDescriptor->PortDescriptors);
|
||||
free((char **)artificialLatencyDescriptor->PortNames);
|
||||
|
||||
@@ -733,7 +733,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (lcrDelayDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)lcrDelayDescriptor->PortDescriptors);
|
||||
free((char **)lcrDelayDescriptor->PortNames);
|
||||
|
||||
@@ -280,7 +280,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (lowpass_iirDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)lowpass_iirDescriptor->PortDescriptors);
|
||||
free((char **)lowpass_iirDescriptor->PortNames);
|
||||
|
||||
@@ -308,7 +308,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (lsFilterDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)lsFilterDescriptor->PortDescriptors);
|
||||
free((char **)lsFilterDescriptor->PortNames);
|
||||
|
||||
@@ -266,7 +266,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (matrixMSStDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)matrixMSStDescriptor->PortDescriptors);
|
||||
free((char **)matrixMSStDescriptor->PortNames);
|
||||
|
||||
@@ -424,7 +424,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (matrixSpatialiserDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)matrixSpatialiserDescriptor->PortDescriptors);
|
||||
free((char **)matrixSpatialiserDescriptor->PortNames);
|
||||
|
||||
@@ -245,7 +245,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (matrixStMSDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)matrixStMSDescriptor->PortDescriptors);
|
||||
free((char **)matrixStMSDescriptor->PortNames);
|
||||
|
||||
@@ -885,7 +885,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (mbeqDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)mbeqDescriptor->PortDescriptors);
|
||||
free((char **)mbeqDescriptor->PortNames);
|
||||
|
||||
@@ -318,7 +318,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (modDelayDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)modDelayDescriptor->PortDescriptors);
|
||||
free((char **)modDelayDescriptor->PortNames);
|
||||
|
||||
@@ -656,7 +656,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (multivoiceChorusDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)multivoiceChorusDescriptor->PortDescriptors);
|
||||
free((char **)multivoiceChorusDescriptor->PortNames);
|
||||
|
||||
@@ -343,7 +343,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (notch_iirDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)notch_iirDescriptor->PortDescriptors);
|
||||
free((char **)notch_iirDescriptor->PortNames);
|
||||
|
||||
@@ -1377,7 +1377,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (lfoPhaserDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)lfoPhaserDescriptor->PortDescriptors);
|
||||
free((char **)lfoPhaserDescriptor->PortNames);
|
||||
|
||||
@@ -327,7 +327,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (pitchScaleDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)pitchScaleDescriptor->PortDescriptors);
|
||||
free((char **)pitchScaleDescriptor->PortNames);
|
||||
|
||||
@@ -311,7 +311,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (pitchScaleHQDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)pitchScaleHQDescriptor->PortDescriptors);
|
||||
free((char **)pitchScaleHQDescriptor->PortNames);
|
||||
|
||||
@@ -401,7 +401,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (plateDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)plateDescriptor->PortDescriptors);
|
||||
free((char **)plateDescriptor->PortNames);
|
||||
|
||||
@@ -310,7 +310,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (pointerCastDistortionDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)pointerCastDistortionDescriptor->PortDescriptors);
|
||||
free((char **)pointerCastDistortionDescriptor->PortNames);
|
||||
|
||||
@@ -314,7 +314,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (rateShifterDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)rateShifterDescriptor->PortDescriptors);
|
||||
free((char **)rateShifterDescriptor->PortNames);
|
||||
|
||||
@@ -581,7 +581,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (retroFlangeDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)retroFlangeDescriptor->PortDescriptors);
|
||||
free((char **)retroFlangeDescriptor->PortNames);
|
||||
|
||||
@@ -540,7 +540,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (revdelayDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)revdelayDescriptor->PortDescriptors);
|
||||
free((char **)revdelayDescriptor->PortNames);
|
||||
|
||||
@@ -632,7 +632,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (ringmod_2i1oDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)ringmod_2i1oDescriptor->PortDescriptors);
|
||||
free((char **)ringmod_2i1oDescriptor->PortNames);
|
||||
|
||||
@@ -344,7 +344,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (satanMaximiserDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)satanMaximiserDescriptor->PortDescriptors);
|
||||
free((char **)satanMaximiserDescriptor->PortNames);
|
||||
|
||||
@@ -473,7 +473,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (sc1Descriptor) {
|
||||
free((LADSPA_PortDescriptor *)sc1Descriptor->PortDescriptors);
|
||||
free((char **)sc1Descriptor->PortNames);
|
||||
|
||||
@@ -491,7 +491,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (sc2Descriptor) {
|
||||
free((LADSPA_PortDescriptor *)sc2Descriptor->PortDescriptors);
|
||||
free((char **)sc2Descriptor->PortNames);
|
||||
|
||||
@@ -562,7 +562,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (sc3Descriptor) {
|
||||
free((LADSPA_PortDescriptor *)sc3Descriptor->PortDescriptors);
|
||||
free((char **)sc3Descriptor->PortNames);
|
||||
|
||||
@@ -618,7 +618,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (sc4Descriptor) {
|
||||
free((LADSPA_PortDescriptor *)sc4Descriptor->PortDescriptors);
|
||||
free((char **)sc4Descriptor->PortNames);
|
||||
|
||||
@@ -568,7 +568,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (sc4mDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)sc4mDescriptor->PortDescriptors);
|
||||
free((char **)sc4mDescriptor->PortNames);
|
||||
|
||||
@@ -614,7 +614,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (se4Descriptor) {
|
||||
free((LADSPA_PortDescriptor *)se4Descriptor->PortDescriptors);
|
||||
free((char **)se4Descriptor->PortNames);
|
||||
|
||||
@@ -260,7 +260,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (shaperDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)shaperDescriptor->PortDescriptors);
|
||||
free((char **)shaperDescriptor->PortNames);
|
||||
|
||||
@@ -438,7 +438,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (sifterDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)sifterDescriptor->PortDescriptors);
|
||||
free((char **)sifterDescriptor->PortNames);
|
||||
|
||||
@@ -296,7 +296,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (sinCosDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)sinCosDescriptor->PortDescriptors);
|
||||
free((char **)sinCosDescriptor->PortNames);
|
||||
|
||||
@@ -312,7 +312,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (singleParaDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)singleParaDescriptor->PortDescriptors);
|
||||
free((char **)singleParaDescriptor->PortNames);
|
||||
|
||||
@@ -244,7 +244,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (sinusWavewrapperDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)sinusWavewrapperDescriptor->PortDescriptors);
|
||||
free((char **)sinusWavewrapperDescriptor->PortNames);
|
||||
|
||||
@@ -329,7 +329,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (smoothDecimateDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)smoothDecimateDescriptor->PortDescriptors);
|
||||
free((char **)smoothDecimateDescriptor->PortNames);
|
||||
|
||||
@@ -240,7 +240,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (splitDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)splitDescriptor->PortDescriptors);
|
||||
free((char **)splitDescriptor->PortNames);
|
||||
|
||||
@@ -532,7 +532,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (stepMuxerDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)stepMuxerDescriptor->PortDescriptors);
|
||||
free((char **)stepMuxerDescriptor->PortNames);
|
||||
|
||||
@@ -414,7 +414,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (surroundEncoderDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)surroundEncoderDescriptor->PortDescriptors);
|
||||
free((char **)surroundEncoderDescriptor->PortNames);
|
||||
|
||||
@@ -408,7 +408,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (svfDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)svfDescriptor->PortDescriptors);
|
||||
free((char **)svfDescriptor->PortNames);
|
||||
|
||||
@@ -645,7 +645,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (tapeDelayDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)tapeDelayDescriptor->PortDescriptors);
|
||||
free((char **)tapeDelayDescriptor->PortNames);
|
||||
|
||||
@@ -465,7 +465,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (transientDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)transientDescriptor->PortDescriptors);
|
||||
free((char **)transientDescriptor->PortNames);
|
||||
|
||||
@@ -593,7 +593,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (tripleParaDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)tripleParaDescriptor->PortDescriptors);
|
||||
free((char **)tripleParaDescriptor->PortNames);
|
||||
|
||||
@@ -332,7 +332,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (valveDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)valveDescriptor->PortDescriptors);
|
||||
free((char **)valveDescriptor->PortNames);
|
||||
|
||||
@@ -401,7 +401,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (valveRectDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)valveRectDescriptor->PortDescriptors);
|
||||
free((char **)valveRectDescriptor->PortNames);
|
||||
|
||||
@@ -420,9 +420,9 @@ void __attribute__((constructor)) swh_init() {
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
/* _fini() is called automatically when the library is unloaded. */
|
||||
/* __attribute__((destructor)) swh_fini() is called automatically when the library is unloaded. */
|
||||
void
|
||||
_fini() {
|
||||
__attribute__((destructor)) swh_fini() {
|
||||
long lIndex;
|
||||
if (g_psDescriptor) {
|
||||
free((char *)g_psDescriptor->Label);
|
||||
|
||||
@@ -712,7 +712,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (vynilDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)vynilDescriptor->PortDescriptors);
|
||||
free((char **)vynilDescriptor->PortNames);
|
||||
|
||||
@@ -231,7 +231,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (waveTerrainDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)waveTerrainDescriptor->PortDescriptors);
|
||||
free((char **)waveTerrainDescriptor->PortNames);
|
||||
|
||||
@@ -598,7 +598,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (xfadeDescriptor) {
|
||||
free((LADSPA_PortDescriptor *)xfadeDescriptor->PortDescriptors);
|
||||
free((char **)xfadeDescriptor->PortNames);
|
||||
|
||||
@@ -232,7 +232,7 @@ void __attribute__((constructor)) swh_init() {
|
||||
}
|
||||
}
|
||||
|
||||
void _fini() {
|
||||
void __attribute__((destructor)) swh_fini() {
|
||||
if (zm1Descriptor) {
|
||||
free((LADSPA_PortDescriptor *)zm1Descriptor->PortDescriptors);
|
||||
free((char **)zm1Descriptor->PortNames);
|
||||
|
||||
Reference in New Issue
Block a user