[connman] Fix memory leak in iptables extension. Fixes JB#40973
Free the match returned by xtables_find_match() if the struct xt_entry_match* is set for the match (match->m). In this case xtables_find_match() has allocated a clone. When match->m is NULL an entry from internal list is returned that must not be free'd.
Showing with 9 additions and 5 deletions