Here is a patch that should fix some of the memleaks I'm seeeing for nm-applet in my session valgrind logs. Note that this patch is purely from code inspection, so you may want to double-check it.
Created attachment 317226 [details] patch
commited upstream, thanks