Explorar el Código

intel: Clean up leak of driver context structure on context destroy.

(cherry picked from commit ddef7dc87b)
tags/mesa_7_5_1
Brian Paul hace 16 años
padre
commit
722d136f7b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      src/mesa/drivers/dri/intel/intel_context.c

+ 3
- 0
src/mesa/drivers/dri/intel/intel_context.c Ver fichero

@@ -804,6 +804,9 @@ intelDestroyContext(__DRIcontextPrivate * driContextPriv)

/* free the Mesa context */
_mesa_free_context_data(&intel->ctx);

FREE(intel);
driContextPriv->driverPrivate = NULL;
}
}


Cargando…
Cancelar
Guardar