]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/media/pci/zoran/zoran_driver.c
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112...
[mirror_ubuntu-artful-kernel.git] / drivers / media / pci / zoran / zoran_driver.c
index 94b9b616df989e29d24af197471fb921e3190c73..180f3d7af3e1d1426a9d8a9675e6e71304326679 100644 (file)
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 #include <linux/init.h>
@@ -975,6 +971,7 @@ static int zoran_open(struct file *file)
        return 0;
 
 fail_fh:
+       v4l2_fh_exit(&fh->fh);
        kfree(fh);
 fail_unlock:
        mutex_unlock(&zr->lock);