Fix avrorouter memory leaks
The loading of the JSON schemas leaked memory as functions that increment the reference count were used.
This commit is contained in:
@ -140,6 +140,7 @@ void avro_index_file(AVRO_INSTANCE *router, const char* filename)
|
||||
errmsg = NULL;
|
||||
prev_gtid = gtid;
|
||||
}
|
||||
json_decref(row);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user