Clean up the epan_dissect_t in the normal code path.
authorGuy Harris <guy@alum.mit.edu>
Sat, 29 Sep 2018 21:05:27 +0000 (14:05 -0700)
committerGuy Harris <guy@alum.mit.edu>
Sat, 29 Sep 2018 21:05:59 +0000 (21:05 +0000)
commitb59cadb313207f3f2d27dc3d0e26568de39437d8
tree3d873a6ee6cb7d1d4cf4027e6c348c6d40cd97c1
parent90d6219efaa517d4b6478fc055cded9c2915d622
Clean up the epan_dissect_t in the normal code path.

We initialized it, but only cleaned it up in an error code path, not in
the regular code path.  That could leak memory.

Change-Id: Icb5aa5b1a2df8919d8a4e54d88a5d865320bd279
Reviewed-on: https://code.wireshark.org/review/29929
Reviewed-by: Guy Harris <guy@alum.mit.edu>
ui/qt/iax2_analysis_dialog.cpp