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:
Markus Mäkelä 2018-11-29 10:03:31 +02:00
parent 9b571566aa
commit 1126c687a4
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -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"