parser: switch pkg_free(tob) to free_to(tob) to free To header structure
authorDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 19 Sep 2011 11:29:44 +0000 (13:29 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 19 Sep 2011 11:29:44 +0000 (13:29 +0200)
commitdc453ac1e9d631c417b1b9c70d7b9d92107b389f
tree14577379812914ddf04102ccfa160727076fc075
parent67172188fa23112fa449cf60d790bc84d02fed28
parser: switch pkg_free(tob) to free_to(tob) to free To header structure

- this takes care of freeing parameters in case of paring error of
  To-like headers
- patch by Walter Doekes, closes FS#155
lib/kcore/parse_pai.c
lib/kcore/parse_ppi.c
modules/sanity/sanity.c
modules_k/seas/encode_header.c
parser/msg_parser.c
parser/parse_diversion.c
parser/parse_from.c
parser/parse_refer_to.c
parser/parse_rpid.c