> Add the missed undo functions for error handling to fix it. … > +++ b/drivers/media/pci/ttpci/budget-core.c > @@ -369,20 +369,25 @@ static int budget_register(struct budget *budget) … > return 0; > + +err: > + dvb_dmxdev_release(&budget->dmxdev); > + dvb_dmx_release(&budget->demux); > + return ret; > } … Perhaps use the label “release_dmxdev” instead? Regards, Markus