Re: [PATCH] PM / QoS: Fix memory leak on resume_latency.notifiers

2017-02-17 Thread Rafael J. Wysocki
On Thursday, February 16, 2017 05:21:50 PM John Keeping wrote: > Since commit 2d984ad132a8 ("PM / QoS: Introcuce latency tolerance device > PM QoS type") we reassign "c" to point at qos->latency_tolerance before > freeing c->notifiers, but the notifiers field of latency_tolerance is > never used.

Re: [PATCH] PM / QoS: Fix memory leak on resume_latency.notifiers

2017-02-17 Thread Rafael J. Wysocki
On Thursday, February 16, 2017 05:21:50 PM John Keeping wrote: > Since commit 2d984ad132a8 ("PM / QoS: Introcuce latency tolerance device > PM QoS type") we reassign "c" to point at qos->latency_tolerance before > freeing c->notifiers, but the notifiers field of latency_tolerance is > never used.

[PATCH] PM / QoS: Fix memory leak on resume_latency.notifiers

2017-02-16 Thread John Keeping
Since commit 2d984ad132a8 ("PM / QoS: Introcuce latency tolerance device PM QoS type") we reassign "c" to point at qos->latency_tolerance before freeing c->notifiers, but the notifiers field of latency_tolerance is never used. Restore the original behaviour of freeing the notifiers pointer on

[PATCH] PM / QoS: Fix memory leak on resume_latency.notifiers

2017-02-16 Thread John Keeping
Since commit 2d984ad132a8 ("PM / QoS: Introcuce latency tolerance device PM QoS type") we reassign "c" to point at qos->latency_tolerance before freeing c->notifiers, but the notifiers field of latency_tolerance is never used. Restore the original behaviour of freeing the notifiers pointer on