commit fb7eef5ba9bdf4ac25a100f60125c9774d37a5b0
parent 0f236881d7b0ce41755959ca9316fa3abb9464e6
Author: fundamental <[email protected]>
Date: Fri, 3 Jun 2011 12:57:41 -0400
Oscillgen: Applying invalid deallocation patch
Changine delete to delete [] (Martin Ettl)
https://sourceforge.net/tracker/?func=detail&aid=3147643&group_id=62934&atid=502312
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Synth/OscilGen.cpp b/src/Synth/OscilGen.cpp
@@ -761,7 +761,7 @@ void OscilGen::adaptiveharmonicpostprocess(REALTYPE *f, int size)
}
}
- delete (inf);
+ delete [] inf;
}
void OscilGen::newrandseed(unsigned int randseed)