OSDN Git Service

Fix memory leaks in vblank error paths.
authorMichel Dänzer <michel@tungstengraphics.com>
Fri, 15 Jun 2007 08:10:33 +0000 (10:10 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Fri, 15 Jun 2007 08:10:33 +0000 (10:10 +0200)
commit1000d88ddfcd0ae769125db37d4e78643a430caf
tree0a2e0b1b0e362017df0925a443105ec1367f19b0
parentb06268294afb47e62949984d73905344dd160262
Fix memory leaks in vblank error paths.

Also use drm_calloc instead of drm_alloc and memset, and use the size of the
struct instead of the size of the pointer for allocation...
linux-core/drm_irq.c
shared-core/i915_irq.c