Lv Zheng
15b94fa32a
ACPI / EC: Fix a memory leak issue in acpi_ec_query()
...
When query handler is not found, "result" is actually stil 0, and
"struct acpi_ec_query" is not NULL, so the deletion code of
"struct acpi_ec_query" at the end of the function cannot be invoked.
As a consequence, memory leak can be observed.
The issue is introduced by this commit:
Commit: 02b771b64b
Subject: ACPI / EC: Fix an issue caused by the serialized _Qxx
This patch fixes such memory leakage.
Fixes: 02b771b64b
(ACPI / EC: Fix an issue caused by the serialized _Qxx evaluations)
Signed-off-by: Lv Zheng <lv.zheng@intel.com >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2015-09-26 01:44:59 +02:00
..
2015-08-25 23:11:33 +02:00
2015-07-08 02:27:32 +02:00
2015-03-26 21:34:51 +01:00
2015-07-08 02:27:32 +02:00
2015-07-20 10:52:45 -07:00
2014-09-08 15:38:41 +02:00
2014-08-06 20:34:19 -07:00
2015-07-08 02:27:32 +02:00
2015-01-29 21:02:10 +08:00
2015-09-01 19:45:46 -07:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2015-06-15 14:40:48 +02:00
2015-09-03 15:00:28 -05:00
2015-07-21 01:01:46 +02:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2014-03-19 01:57:46 +01:00
2013-08-22 08:34:39 -07:00
2015-07-08 02:27:32 +02:00
2015-09-15 03:05:45 +02:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2013-12-07 01:03:14 +01:00
2015-08-07 02:55:18 +02:00
2015-09-01 03:38:43 +02:00
2015-07-17 22:53:43 +02:00
2015-07-08 02:27:32 +02:00
2014-01-06 00:13:22 +01:00
2015-09-26 01:44:59 +02:00
2015-01-18 01:03:45 -05:00
2015-07-08 02:27:32 +02:00
2015-06-15 14:40:48 +02:00
2015-03-26 15:13:09 +00:00
2015-07-08 02:27:32 +02:00
2015-09-15 03:05:45 +02:00
2015-09-01 03:38:43 +02:00
2015-02-05 15:09:26 +01:00
2015-09-08 14:35:59 -07:00
2015-09-01 03:38:22 +02:00
2015-09-08 14:35:59 -07:00
2015-08-27 19:38:28 -04:00
2015-07-08 02:27:32 +02:00
2014-05-27 18:13:08 +02:00
2015-09-01 03:41:19 +02:00
2015-09-01 19:45:46 -07:00
2015-09-01 03:41:19 +02:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2015-09-01 03:38:43 +02:00
2014-02-05 01:06:21 +01:00
2015-05-13 23:28:16 +02:00
2015-09-01 03:38:22 +02:00
2015-07-08 02:27:32 +02:00
2015-05-13 23:28:14 +02:00
2015-09-01 15:52:35 +02:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2015-08-26 01:46:39 +02:00
2012-04-20 11:19:35 -07:00
2015-09-01 03:38:22 +02:00
2015-07-08 02:27:32 +02:00
2015-04-30 23:18:11 +02:00
2007-12-14 15:14:06 -05:00
2015-07-29 23:57:51 +02:00
2015-03-30 01:52:02 +02:00
2015-03-18 12:53:21 +01:00
2015-08-07 02:42:22 +02:00
2015-07-08 02:27:32 +02:00
2015-09-11 16:13:47 -07:00
2015-07-08 02:27:32 +02:00
2015-08-14 11:20:20 +02:00
2013-12-07 01:03:14 +01:00