Fix alloc-dealloc mismatch in qc_classify_as_json
The deleter for std::unique_ptr<GWBUF> was not included in that file which caused it to be deleted with the default deleter. The same should apply to std::unique_ptr<json_t> as well.
This commit is contained in:
parent
9b571566aa
commit
1126c687a4
@ -26,6 +26,8 @@
|
||||
#include <maxscale/modutil.hh>
|
||||
#include <maxscale/pcre2.h>
|
||||
#include <maxscale/utils.h>
|
||||
#include <maxscale/jansson.hh>
|
||||
#include <maxscale/buffer.hh>
|
||||
|
||||
#include "internal/config_runtime.h"
|
||||
#include "internal/modules.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user