dell-wmi: Fix memory leak
authorYong Wang <yong.y.wang@linux.intel.com>
Mon, 5 Apr 2010 13:09:40 +0000 (21:09 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 12 Apr 2010 17:10:19 +0000 (13:10 -0400)
commita0624a90a2bea97e0d65187b4b53ad400226c3f1
treec16bb7781c18cecc28b2d56beed49e196bbedbda
parent3d7b165539d4174b0b8396bd52ee37ba21bd0dfb
dell-wmi: Fix memory leak

The output of wmi_get_event_data shall be freed before return.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Yong Wang <yong.y.wang@linux.intel.com>
drivers/platform/x86/dell-wmi.c