common/messaging: use tdb_parse_record in message_list_db_fetch
authorVolker Lendecke <vl@samba.org>
Fri, 5 Apr 2013 02:11:31 +0000 (13:11 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 5 Apr 2013 04:19:59 +0000 (15:19 +1100)
commit09f82b58b2ab367a1c4f5b2bc79ceb63ff66a3c4
tree01a67c857a522dd68aab8117a62fabc066714dea
parent12090590085c5a3e3b895896ea2668cb592a7e28
common/messaging: use tdb_parse_record in message_list_db_fetch

This avoids malloc/free in a hot code path.
(cherry picked from commit c137531fae8f7f6392746ce1b9ac6f219775fc29)
common/ctdb_message.c