diff options
author | Will Thompson <will@willthompson.co.uk> | 2012-05-09 17:57:42 +0100 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2012-05-09 17:57:42 +0100 |
commit | 5017da484bd5d9590dcf0f7700dab49bf4eea96b (patch) | |
tree | f8a251e26cd62ae86569fc51002e52bf275c39f6 | |
parent | 5b0eb9311da7a5a53b3c3db17fc792825394f647 (diff) |
exa: Allocate VideoCorePixmapPrivRec properly
-rw-r--r-- | src/videocore-exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/videocore-exa.c b/src/videocore-exa.c index 976b96f..f58b4ac 100644 --- a/src/videocore-exa.c +++ b/src/videocore-exa.c @@ -249,7 +249,7 @@ VideoCoreCreatePixmap2(ScreenPtr pScreen, int width, int height, int depth, int usage_hint, int bitsPerPixel, int *new_fb_pitch) { - VideoCorePixmapPrivPtr priv = calloc(sizeof(VideoCorePixmapPrivPtr), 1); + VideoCorePixmapPrivPtr priv = calloc(sizeof(VideoCorePixmapPrivRec), 1); return priv; } |