Re: [PULL]

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

On Wed, 15 Oct 2008 14:41:27 -0400
Steven Toth <stoth@xxxxxxxxxxx> wrote:

> Mauro,
> Please pull from

Applied, thanks.

However, I can see to issues on this series: memory leaks and improper
unregistration code.

>     -  S2API: Add Multiple-frontend on a single adapter support.

This one has some memory leaks. For example:

if ( (NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend) ) {
 		       "%s/2: frontend initialization failed\n",
 		return -EINVAL;

one of the frontends might be allocated/attached. Also, just returning here
won't call some functions for un-registering things at dvb core.

Also, on error at _init, or at _remove, fe2 will be kept initialized.

>     -  cx23885: Move the MFE frontend allocation into the correct place

I suspect that the same issue is also present here.

due to some OOPS we had in the past, when frontend register fails, I suspect
that the dvb unregister functions will OOPS on multi-frontend boards, due to
the lack of the proper frontend unregister code for the second frontend.


v4l-dvb-maintainer mailing list

[Linux Media]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [SSH]     [Linux USB]

Add to Google Powered by Linux

Google PageRank Checking tool