diff options
author | Keith Packard <keithp@keithp.com> | 2010-11-10 16:58:21 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-10 16:58:21 -0800 |
commit | 4ed4915bc0fbe9b4419ca4a0d4e43c2fee032ae9 (patch) | |
tree | e4ea374adb5e3bf00eeddcd8c35a6e4063a34c03 /render/miindex.c | |
parent | 291c39dfef84d1b204d7f5e63e925dee2dbdaca7 (diff) | |
parent | ec1bfbc66926130e1153facc3b92ee175f1cb6b6 (diff) |
Merge remote branch 'whot/for-keith'
Diffstat (limited to 'render/miindex.c')
-rw-r--r-- | render/miindex.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/render/miindex.c b/render/miindex.c index 5e2e06c35..4603136a4 100644 --- a/render/miindex.c +++ b/render/miindex.c @@ -322,16 +322,10 @@ void miCloseIndexed (ScreenPtr pScreen, PictFormatPtr pFormat) { - if (pFormat->index.devPrivate) - { - free(pFormat->index.devPrivate); - pFormat->index.devPrivate = 0; - } - if (pFormat->index.pValues) - { - free(pFormat->index.pValues); - pFormat->index.pValues = 0; - } + free(pFormat->index.devPrivate); + pFormat->index.devPrivate = NULL; + free(pFormat->index.pValues); + pFormat->index.pValues = NULL; } void |