[hm/dmx 4/7] hw/dmx/dmxfont.c: Fix memory leak of goodfps
Niels Thykier
niels at thykier.net
Fri Nov 2 02:41:50 PDT 2012
Signed-off-by: Niels Thykier <niels at thykier.net>
---
hw/dmx/dmxfont.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/dmx/dmxfont.c b/hw/dmx/dmxfont.c
index 7ef7ad9..91f1a3e 100644
--- a/hw/dmx/dmxfont.c
+++ b/hw/dmx/dmxfont.c
@@ -405,6 +405,7 @@ dmxBELoadFont(ScreenPtr pScreen, FontPtr pFont)
free(goodfps);
return FALSE;
}
+ free(goodfps);
}
/* Find requested font on back-end server */
--
1.7.10.4
More information about the xorg-devel
mailing list