iptables: Fix memory leak 36/60036/2
authorNiraj Kumar Goit <niraj.g@samsung.com>
Mon, 22 Feb 2016 14:34:56 +0000 (20:04 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Wed, 9 Mar 2016 06:28:13 +0000 (22:28 -0800)
commitd568b78e8040f49eb81a7b781bf6016a1ed568ac
tree817cb17d82079a8bbeb8cf840234457bf45a145f
parentcf570f852323cbb268e7c035aa520015c398622a
iptables: Fix memory leak

This patch free memory allocated to cbd by cb_data_new() when
get_table() return NULL.

Change-Id: Ifc40f97290c459d580f029f4cf8655d475fcd0ad
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/iptables.c