Change the way we handle realloc so that we now compute all the space required
authorsharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 28 Nov 2005 17:32:30 +0000 (17:32 +0000)
committersharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 28 Nov 2005 17:32:30 +0000 (17:32 +0000)
commit2cb1b6ada8cd318d5fa7b9c018ed497ccb94ab19
treea03c041a2f27f4c933e19a112a4f620bfeffec5e
parentb4094e4a34448c3672aee26478532f5d065c0dfb
Change the way we handle realloc so that we now compute all the space required
up front and realloc once ...

This will probably be the last changes I make on this dissector, as I want to
concentrate on using asn2eth for LDAP, as time permits.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16619 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-ldap.c