Skip to content

Commit

Permalink
Dix: Re-ebable ErrorF reporting of incorrect refcount in FreeFontPath
Browse files Browse the repository at this point in the history
(cherry picked from commit c362d829a6829367621faedc9ad7e10549ab64dc)
  • Loading branch information
Jeremy Huddleston committed Nov 21, 2007
1 parent 96c1137 commit a842d8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dix/dixfonts.c
Expand Up @@ -1632,9 +1632,9 @@ FreeFontPath(FontPathElementPtr *list, int n, Bool force)
found++;
}
if (list[i]->refcount != found) {
/* ErrorF("FreeFontPath: FPE \"%.*s\" refcount is %d, should be %d; fixing.\n",
ErrorF("FreeFontPath: FPE \"%.*s\" refcount is %d, should be %d; fixing.\n",
list[i]->name_length, list[i]->name,
list[i]->refcount, found); */
list[i]->refcount, found);
list[i]->refcount = found; /* ensure it will get freed */
}
}
Expand Down

0 comments on commit a842d8a

Please sign in to comment.