Hi,

Testcases which exercises this code report definitely memory lost. An
example is testcast 1000: ofproto-dpif.at:957 ofproto-dpif - Default
Table Miss

Since I'm not so familiar with ovsdb code, could someone take a look? thanks!

==59366== 160 bytes in 2 blocks are definitely lost in loss record 299 of 364
==59366==    at 0x4C28D06: malloc (vg_replace_malloc.c:299)
==59366==    by 0x4328C4: xmalloc (util.c:112)
==59366==    by 0x41B231: resize (hmap.c:100)
==59366==    by 0x42AF11: hmap_insert_at (hmap.h:277)
==59366==    by 0x42AF11: shash_add_nocopy__ (shash.c:112)
==59366==    by 0x42AF11: shash_add_nocopy (shash.c:121)
==59366==    by 0x40F7C7: ovsdb_monitor_table_condition_create (monitor.c:647)
==59366==    by 0x40A490: ovsdb_jsonrpc_parse_monitor_request
(jsonrpc-server.c:1203)
==59366==    by 0x40BF13: ovsdb_jsonrpc_monitor_create (jsonrpc-server.c:1283)
==59366==    by 0x40BF13: ovsdb_jsonrpc_session_got_request
(jsonrpc-server.c:883)
==59366==    by 0x40BF13: ovsdb_jsonrpc_session_run (jsonrpc-server.c:487)
==59366==    by 0x40BF13: ovsdb_jsonrpc_session_run_all (jsonrpc-server.c:517)
==59366==    by 0x40BF13: ovsdb_jsonrpc_server_run (jsonrpc-server.c:365)
==59366==    by 0x405C96: main_loop (ovsdb-server.c:162)
==59366==    by 0x405C96: main (ovsdb-server.c:361)
==59366==

Regards,
William
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to