iptables: Small improvements on ipatables_init()
authorFlávio Ceolin <flavio.ceolin@profusion.mobi>
Thu, 29 Dec 2011 17:48:40 +0000 (15:48 -0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 5 Jan 2012 10:06:34 +0000 (11:06 +0100)
commit0e24f4771d29aa6e70d13f3d815072f9aa85ccf8
tree056cb34a344b43f6c41d87f1db1c560f55cca48d
parentde96413b24937db8993a4eaee6ee03db9b9047e0
iptables: Small improvements on ipatables_init()

Just returning NULL instead of go to "err:" when
"table" is NULL, also removing a duplicated
 g_free(module).

It's avoiding, at least, a "goto" + "g_free()" +
"table_cleanup()".
src/iptables.c