View | Details | Raw Unified | Return to bug 195097
Collapse All | Expand All

(-)src/nvidia_subr.c (+4 lines)
Lines 590-595 Link Here
590
590
591
    sc = nv->os_state;
591
    sc = nv->os_state;
592
    sp = sc->api_sp;
592
    sp = sc->api_sp;
593
    /* If nvidia_open_dev failed and we're called from nvidia_dev_dtor, we
594
     * already released api_sp. */
595
    if (sp == NULL)
596
        return 0;
593
597
594
    NV_PCI_CHECK_CONFIG_SPACE(sp, nv, TRUE, TRUE, TRUE);
598
    NV_PCI_CHECK_CONFIG_SPACE(sp, nv, TRUE, TRUE, TRUE);
595
    rm_free_unused_clients(sp, nv, filep);
599
    rm_free_unused_clients(sp, nv, filep);

Return to bug 195097