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

« back to all changes in this revision

Viewing changes to mi/midispcur.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2010-06-07 23:22:48 UTC
  • mto: (1.1.33 upstream) (0.10.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 187.
  • Revision ID: james.westby@ubuntu.com-20100607232248-td04lwcvaayddn9b
ImportĀ upstreamĀ versionĀ 1.8.1.901

Show diffs side-by-side

added added

removed removed

Lines of Context:
780
780
    {
781
781
        pScreen = screenInfo.screens[i];
782
782
 
783
 
        pBuffer = xalloc(sizeof(miDCBufferRec));
 
783
        pBuffer = xcalloc(1, sizeof(miDCBufferRec));
784
784
        if (!pBuffer)
785
785
            goto failure;
786
786