~ubuntu-branches/ubuntu/raring/mesa/raring-proposed

« back to all changes in this revision

Viewing changes to src/glx/dri_glx.c

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2013-03-14 12:18:29 UTC
  • mfrom: (1.7.14)
  • Revision ID: package-import@ubuntu.com-20130314121829-bv7c0z6t1pob5ket
Tags: 9.0.3-0ubuntu1
New upstream release. (LP: #1134466)

Show diffs side-by-side

added added

removed removed

Lines of Context:
865
865
   }
866
866
 
867
867
   psc->driver = driOpenDriver(driverName);
868
 
   Xfree(driverName);
869
868
   if (psc->driver == NULL)
870
869
      goto cleanup;
871
870
 
913
912
   psp->setSwapInterval = driSetSwapInterval;
914
913
   psp->getSwapInterval = driGetSwapInterval;
915
914
 
 
915
   free(driverName);
 
916
 
916
917
   return &psc->base;
917
918
 
918
919
cleanup:
919
920
   CriticalErrorMessageF("failed to load driver: %s\n", driverName);
920
921
 
 
922
   free(driverName);
 
923
 
921
924
   if (psc->driver)
922
925
      dlclose(psc->driver);
923
926
   glx_screen_cleanup(&psc->base);