[stable] key: Fix resource leak

2013-03-20 Thread Ben Hutchings
This fix is needed in stable branches 3.0.y, 3.2.y, 3.4.y and 3.5.7.z: commit a84a921978b7d56e0e4b87ffaca6367429b4d8ff Author: Alan Cox Date: Fri Sep 28 12:20:02 2012 +0100 key: Fix resource leak On an error iov may still have been reallocated and need freeing Signed-off-

Re: [stable] key: Fix resource leak

2013-03-21 Thread Luis Henriques
On Thu, Mar 21, 2013 at 05:55:22AM +, Ben Hutchings wrote: > This fix is needed in stable branches 3.0.y, 3.2.y, 3.4.y and 3.5.7.z: > > commit a84a921978b7d56e0e4b87ffaca6367429b4d8ff > Author: Alan Cox > Date: Fri Sep 28 12:20:02 2012 +0100 > > key: Fix resource leak > > On a

Re: [stable] key: Fix resource leak

2013-03-26 Thread Greg KH
On Thu, Mar 21, 2013 at 05:55:22AM +, Ben Hutchings wrote: > This fix is needed in stable branches 3.0.y, 3.2.y, 3.4.y and 3.5.7.z: > > commit a84a921978b7d56e0e4b87ffaca6367429b4d8ff > Author: Alan Cox > Date: Fri Sep 28 12:20:02 2012 +0100 > > key: Fix resource leak > > On a