All pastes #1495801 Raw Edit

xft memleak ?

public c v1 · immutable
#1495801 ·published 2009-07-15 14:08 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");        XftFontClose(display, font);        XCloseDisplay(display);        return 0;}