Re: [PATCH 1/2] mac80211-hwsim: Factor out netlink attribute appending

2014-11-12 Thread Patrik Flykt
On Mon, 2014-11-10 at 10:32 +0100, Johannes Berg wrote: You seem to have lost the nlmsg_free() in error cases. Indeed. Will fix. Patrik -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 1/2] mac80211-hwsim: Factor out netlink attribute appending

2014-11-10 Thread Johannes Berg
On Fri, 2014-11-07 at 10:21 +0200, Patrik Flykt wrote: -error: - nlmsg_free(skb); - return NULL; + return 0; } -static void hswim_mcast_new_radio(int id, struct genl_info *info, +static void hwsim_mcast_new_radio(int id, struct genl_info *info,