cfg80211: Fix memory leak :git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
lib: introduce some memory copy macros and functions