==27680== 32 bytes in 1 blocks are definitely lost in loss record 104 of 394
==27680==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==27680==    by 0x72CA06: my_malloc (in /home/markus/build/bin/maxscale)
==27680==    by 0x5A5A61: get_lock_data(THD*, TABLE**, unsigned int, unsigned int) (in /home/markus/build/bin/maxscale)
==27680==    by 0x5A5EAB: mysql_lock_tables(THD*, TABLE**, unsigned int, unsigned int) (in /home/markus/build/bin/maxscale)
==27680==    by 0x6C9140: lock_tables(THD*, TABLE_LIST*, unsigned int, unsigned int) (in /home/markus/build/bin/maxscale)
==27680==    by 0x6D0BD1: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (in /home/markus/build/bin/maxscale)
==27680==    by 0x67C4B9: plugin_init(int*, char**, int) (in /home/markus/build/bin/maxscale)
==27680==    by 0x554209: init_server_components() (in /home/markus/build/bin/maxscale)
==27680==    by 0x55539C: init_embedded_server (in /home/markus/build/bin/maxscale)
==27680==    by 0x52A376: main (gateway.c:1732)
==27680== 
==27680== 25,584 (8,224 direct, 17,360 indirect) bytes in 1 blocks are definitely lost in loss record 378 of 394
==27680==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==27680==    by 0x72CA06: my_malloc (in /home/markus/build/bin/maxscale)
==27680==    by 0x7189FF: init_alloc_root (in /home/markus/build/bin/maxscale)
==27680==    by 0x6011A4: init_sql_alloc(st_mem_root*, unsigned int, unsigned int, unsigned long) (in /home/markus/build/bin/maxscale)
==27680==    by 0x5B25B5: sp_head::operator new(unsigned long) (in /home/markus/build/bin/maxscale)
==27680==    by 0x7EF382: MYSQLparse(THD*) (in /home/markus/build/bin/maxscale)
==27680==    by 0x6DBD46: parse_sql(THD*, Parser_state*, Object_creation_ctx*, bool) (in /home/markus/build/bin/maxscale)
==27680==    by 0x1C54271A: create_parse_tree(THD*) (query_classifier.cc:380)
==27680==    by 0x1C542186: parse_query (query_classifier.cc:199)
==27680==    by 0x1C541ED0: query_classifier_get_type (query_classifier.cc:110)
==27680==    by 0x1C330A61: route_single_stmt (readwritesplit.c:2081)
==27680==    by 0x1C3303FB: routeQuery (readwritesplit.c:1976)
==27680== 
==27680== LEAK SUMMARY:
==27680==    definitely lost: 8,256 bytes in 2 blocks
==27680==    indirectly lost: 17,360 bytes in 9 blocks
==27680==      possibly lost: 271,000,056 bytes in 241 blocks
==27680==    still reachable: 1,280,662 bytes in 1,016 blocks
==27680==         suppressed: 0 bytes in 0 blocks
==27680== Reachable blocks (those to which a pointer was found) are not shown.
==27680== To see them, add 'reachable any' args to leak_check
==27680== 
