summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-08-14 11:10:58 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-08-14 11:14:11 +0200
commita5c387def7981fd5b2e48759d3d1ca489cdfefcf (patch)
tree91cdfee76d0c0abd7435fe4a0aac7a793f2e4670 /examples
parent03886d5908fe4ba44a056d8297cc7b48c91a8f15 (diff)
src: xml: don't duplicate string in nft_table_xml_parse
With this patch, nft_table_xml_parse does not duplicate the string anymore, which is what most callers seem to need. This fixes memleaks in several places in the code. Thus, this patch also adapts the code to duplicate it when needed. Based on patch from Arturo Borrero. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions