Fix alloc-dealloc mismatch
The filter was deleted using free but allocated with new.
This commit is contained in:
parent
8b9f7cc458
commit
b14cfea7e3
@ -106,7 +106,7 @@ FilterDef* filter_alloc(const char *name, const char *module, MXS_CONFIG_PARAMET
|
||||
filter_free_parameters(filter);
|
||||
MXS_FREE(my_name);
|
||||
MXS_FREE(my_module);
|
||||
MXS_FREE(filter);
|
||||
delete filter;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user