mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 17:00:06 +01:00
Dix: Re-ebable ErrorF reporting of incorrect refcount in FreeFontPath
(cherry picked from commit c362d829a6829367621faedc9ad7e10549ab64dc)
This commit is contained in:
parent
96c113724a
commit
a842d8a85d
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue