We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
below a simple diff-patch to hexter.c/hexter_cleanup() which fixes DSSI multi-instance removal from crashing eg. qtractor.
+++ a/src/hexter.c 2012-10-23 07:40:41.000000000 +0100 --- b/src/hexter.c 2014-06-06 19:00:00.000000000 +0100 @@ -242,7 +242,6 @@ hexter_cleanup(LADSPA_Handle handle) hexter_deactivate(instance); if (instance->patches) free(instance->patches); - free(instance); prev = NULL; for (inst = hexter_synth.instances; inst; inst = inst->next) { @@ -256,6 +256,7 @@ hexter_cleanup(LADSPA_Handle handle) prev = inst; } hexter_synth.instance_count--; + free(instance); } if (!hexter_synth.instance_count && hexter_synth.initialized) {
The text was updated successfully, but these errors were encountered:
31dce3a
Merge pull request #4 from rncbc/master
a79dfe7
hexter_cleanup fix #3 -- use after free()
No branches or pull requests
below a simple diff-patch to hexter.c/hexter_cleanup() which fixes DSSI multi-instance removal from crashing eg. qtractor.
The text was updated successfully, but these errors were encountered: