diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-08-18 21:11:37 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-05-23 09:51:34 +0200 |
commit | a64f768c2a5d91ae6149c61cc66d8abff1931020 (patch) | |
tree | d156bf00fc2682de146e1be44ed91bb9d8cd2ba5 | |
parent | 88d59f6ff3769aa4e0f2a221ecea22fd86413115 (diff) |
Initialise cref to zero
-rw-r--r-- | glamo/glamo_bo_gem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glamo/glamo_bo_gem.c b/glamo/glamo_bo_gem.c index e76f9aa6..eaab76f1 100644 --- a/glamo/glamo_bo_gem.c +++ b/glamo/glamo_bo_gem.c @@ -120,6 +120,7 @@ static struct glamo_bo *bo_open(struct glamo_bo_manager *bom, bo->base.alignment = alignment; bo->base.domains = domains; bo->base.flags = flags; + bo->base.cref = 0; bo->map_count = 0; bo->base.virtual = NULL; if (handle) { |