~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to render/miindex.c

Tags: 2:1.10.1-2
* Build xserver-xorg-core-udeb on hurd-i386.  Thanks, Samuel Thibault!
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
322
322
miCloseIndexed (ScreenPtr       pScreen,
323
323
                PictFormatPtr   pFormat)
324
324
{
325
 
    if (pFormat->index.devPrivate)
326
 
    {
327
 
        free(pFormat->index.devPrivate);
328
 
        pFormat->index.devPrivate = 0;
329
 
    }
330
 
    if (pFormat->index.pValues)
331
 
    {
332
 
        free(pFormat->index.pValues);
333
 
        pFormat->index.pValues = 0;
334
 
    }
 
325
    free(pFormat->index.devPrivate);
 
326
    pFormat->index.devPrivate = NULL;
 
327
    free(pFormat->index.pValues);
 
328
    pFormat->index.pValues = NULL;
335
329
}
336
330
 
337
331
void