ftype-protocol: do not return from TRY/CATCH
authorPeter Wu <peter@lekensteyn.nl>
Tue, 9 Oct 2018 15:14:11 +0000 (17:14 +0200)
committerAnders Broman <a.broman58@gmail.com>
Wed, 10 Oct 2018 04:03:15 +0000 (04:03 +0000)
commit8c31cdc13c546107235b86cfa9a539c436448f2e
treea70d11b658394d7a91bfa622ab6bcf18ad6a1c48
parentf3986c24728f03a346a10388fd6c15ea9ae16d41
ftype-protocol: do not return from TRY/CATCH

TRY/CATCH are macros, before returning the ENDTRY block must be executed
or the weirdest crashes can occur.

Change-Id: Ic56871322f8567263e2b8a81cce5a3c7042301b7
Fixes: v2.1.0rc0-2939-g5493fe0167 ("Convert ftype-tvbuff.c to ftype-protocol.c")
Reviewed-on: https://code.wireshark.org/review/30095
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/ftypes/ftype-protocol.c