dissector: eth: Free allocated record if line is skipped
commit0cc5ca825656dbb2dc91fb130924abe66c97b254
authorTobias Klauser <tklauser@distanz.ch>
Thu, 13 Jun 2013 14:47:13 +0000 (13 16:47 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 13 Jun 2013 14:47:13 +0000 (13 16:47 +0200)
tree6f815e726eb0f543115823c7940c1e325fbe195d
parentbdf2285959f985bb1d9a92ba22eefadc6d85a393
dissector: eth: Free allocated record if line is skipped

We would currently leak the record in case we skip a line, fix
this by xfree()ing the memory in these cases.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
dissector_eth.c