Loading drivers/char/adsprpc.c +1 −1 Original line number Diff line number Diff line Loading @@ -2764,6 +2764,7 @@ static int fastrpc_file_free(struct fastrpc_file *fl) mutex_unlock(&fl->perf_mutex); mutex_destroy(&fl->perf_mutex); mutex_destroy(&fl->fl_map_mutex); mutex_destroy(&fl->map_mutex); kfree(fl); return 0; } Loading @@ -2777,7 +2778,6 @@ static int fastrpc_device_release(struct inode *inode, struct file *file) pm_qos_remove_request(&fl->pm_qos_req); if (fl->debugfs_file != NULL) debugfs_remove(fl->debugfs_file); mutex_destroy(&fl->map_mutex); fastrpc_file_free(fl); file->private_data = NULL; } Loading Loading
drivers/char/adsprpc.c +1 −1 Original line number Diff line number Diff line Loading @@ -2764,6 +2764,7 @@ static int fastrpc_file_free(struct fastrpc_file *fl) mutex_unlock(&fl->perf_mutex); mutex_destroy(&fl->perf_mutex); mutex_destroy(&fl->fl_map_mutex); mutex_destroy(&fl->map_mutex); kfree(fl); return 0; } Loading @@ -2777,7 +2778,6 @@ static int fastrpc_device_release(struct inode *inode, struct file *file) pm_qos_remove_request(&fl->pm_qos_req); if (fl->debugfs_file != NULL) debugfs_remove(fl->debugfs_file); mutex_destroy(&fl->map_mutex); fastrpc_file_free(fl); file->private_data = NULL; } Loading