Fix memory-leak in case of Vamp plugin setup error
This commit is contained in:
@@ -219,8 +219,10 @@ Resampler::setup (unsigned int fs_inp,
|
||||
_inmax = k;
|
||||
_pstep = s;
|
||||
return reset ();
|
||||
} else {
|
||||
delete[] B;
|
||||
return 1;
|
||||
}
|
||||
else return 1;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user