Public feed #1495798

xft memleak ?

public c v1 · immutable
Raw Edit
·published 2009-07-15 14:06 UTC
rendered paste body
#include <X11/Xlib.h>#include <X11/Xft/Xft.h>int main(){        Display* display = XOpenDisplay(NULL);        int screen = DefaultScreen(display);        XftFont* font = XftFontOpenName(display, screen, "6x10"); // Commenting this and the next line makes the code ok for valgrind        XftFontClose(display, font);        XCloseDisplay(display);        return 0;}