diff options
-rw-r--r-- | drivers/media/radio/radio-maestro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-maestro.c b/drivers/media/radio/radio-maestro.c index 8e33a19a22a3..bc51f4d23a5a 100644 --- a/drivers/media/radio/radio-maestro.c +++ b/drivers/media/radio/radio-maestro.c | |||
@@ -423,7 +423,7 @@ static int __devinit maestro_probe(struct pci_dev *pdev, | |||
423 | errunr: | 423 | errunr: |
424 | video_unregister_device(maestro_radio_inst); | 424 | video_unregister_device(maestro_radio_inst); |
425 | errfr1: | 425 | errfr1: |
426 | kfree(maestro_radio_inst); | 426 | video_device_release(maestro_radio_inst); |
427 | errfr: | 427 | errfr: |
428 | kfree(radio_unit); | 428 | kfree(radio_unit); |
429 | err: | 429 | err: |