Re: [PATCH 2/2] USB: digi_acceleport: fix port-data memory leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 19, 2012 at 04:53:18PM +0200, Johan Hovold wrote:
> Fix port-data memory leak by moving port data deallocation to
> port_remove for regular ports.

Greg, please ignore this one for now.

Only moving deallocation to port probe, fixes the memory leak at
release, but port data must also be allocated in port_probe in order to
avoid potential leaks in the usb-serial probe error path.

I was trying to keep this patch minimal and clean up allocation
in a follow-up patch, but these two really should be merged.

I have fixes for the remaining leaks in the usb-serial drivers and will
submit them shortly.

Thanks,
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux