freebsd-ports/net/nxserver/files/patch-nx-X11-programs-Xserver-nxagent-NXdixfonts.c
Dirk Meyer b86a05ab73 - update to 2.1.0
- make portlint happier
- fix missing USE_LDCONFIG
PR:		112887
Obtained from:	http://www.deweyonline.com/nx/freebsd.html
2008-04-10 10:22:19 +00:00

11 lines
591 B
C

--- nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c.orig 2006-11-09 12:22:35.000000000 -0455
+++ nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c
@@ -2521,7 +2521,7 @@
err = (*fpe_functions[fpe->type].start_list_fonts_and_aliases)
((pointer) c->client, fpe, c->current.pattern,
c->current.patlen, c->current.max_names - c->names->nnames,
- &c->current.private);
+ &c->current.private); /* FIXME: returned mem c->current.private (needed by list_next_font_or_alias) may never be freed */
if (err == Suspended) {
if (!c->slept) {
ClientSleep(client,