DUNE/IMC: Fixed memory leak in class Packet that ocurrs when deserialization of message fields fails.
Merge remote-tracking branch 'origin/bug/3154'

Fixed Bug #3154: DUNE/IMC fixed memory leak in Packet class.

Authored By: Ricardo Martins
Reviewed By: Pedro Calado