Memory leaks



Hello all,

I might be a bit of a puritan but I am puzzled about the following. Running valgrind over my program I noticed a lot of unfreed block on application close. I decided to run a basic GTK program and see what happened.

So I ran the following two programs (both directly from the GTK documentation):

program 1:

#include <gtk/gtk.h>

int main( int   argc,
          char *argv[] )
{
    GtkWidget *window;
   
    gtk_init (&argc, &argv);
   
    window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_widget_show  (window);
   
    gtk_main ();
   
    return 0;
}


and program 2:

#include <gtk/gtk.h>

/* This is a callback function. The data arguments are ignored
 * in this example. More on callbacks below. */
static void hello( GtkWidget *widget,
                   gpointer   data )
{
    g_print ("Hello World\n");
}

static gboolean delete_event( GtkWidget *widget,
                              GdkEvent  *event,
                              gpointer   data )
{
    /* If you return FALSE in the "delete_event" signal handler,
     * GTK will emit the "destroy" signal. Returning TRUE means
     * you don't want the window to be destroyed.
     * This is useful for popping up 'are you sure you want to quit?'
     * type dialogs. */

    g_print ("delete event occurred\n");

    /* Change TRUE to FALSE and the main window will be destroyed with
     * a "delete_event". */

    return TRUE;
}

/* Another callback */
static void destroy( GtkWidget *widget,
                     gpointer   data )
{
    gtk_main_quit ();
}

int main( int   argc,
          char *argv[] )
{
    /* GtkWidget is the storage type for widgets */
    GtkWidget *window;
    GtkWidget *button;
   
    /* This is called in all GTK applications. Arguments are parsed
     * from the command line and are returned to the application. */
    gtk_init (&argc, &argv);
   
    /* create a new window */
    window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
   
    /* When the window is given the "delete_event" signal (this is given
     * by the window manager, usually by the "close" option, or on the
     * titlebar), we ask it to call the delete_event () function
     * as defined above. The data passed to the callback
     * function is NULL and is ignored in the callback function. */
    g_signal_connect (G_OBJECT (window), "delete_event",
              G_CALLBACK (delete_event), NULL);
   
    /* Here we connect the "destroy" event to a signal handler. 
     * This event occurs when we call gtk_widget_destroy() on the window,
     * or if we return FALSE in the "delete_event" callback. */
    g_signal_connect (G_OBJECT (window), "destroy",
              G_CALLBACK (destroy), NULL);
   
    /* Sets the border width of the window. */
    gtk_container_set_border_width (GTK_CONTAINER (window), 10);
   
    /* Creates a new button with the label "Hello World". */
    button = gtk_button_new_with_label ("Hello World");
   
    /* When the button receives the "clicked" signal, it will call the
     * function hello() passing it NULL as its argument.  The hello()
     * function is defined above. */
    g_signal_connect (G_OBJECT (button), "clicked",
              G_CALLBACK (hello), NULL);
   
    /* This will cause the window to be destroyed by calling
     * gtk_widget_destroy(window) when "clicked".  Again, the destroy
     * signal could come from here, or the window manager. */
    g_signal_connect_swapped (G_OBJECT (button), "clicked",
                  G_CALLBACK (gtk_widget_destroy),
                              G_OBJECT (window));
   
    /* This packs the button into the window (a gtk container). */
    gtk_container_add (GTK_CONTAINER (window), button);
   
    /* The final step is to display this newly created widget. */
    gtk_widget_show (button);
   
    /* and the window */
    gtk_widget_show (window);
   
    /* All GTK applications must have a gtk_main(). Control ends here
     * and waits for an event to occur (like a key press or
     * mouse event). */
    gtk_main ();
   
    return 0;
}


and ran valgrind over both. I closed the first program using the close box in the title bar ( and pressing Ctrl-C in my terminal), and the second by clicking on the button.

Valgrind output program 1:
<snip>
==4043== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 48 from 2)
==4043== malloc/free: in use at exit: 223,270 bytes in 2,929 blocks.
==4043== malloc/free: 6,458 allocs, 3,529 frees, 724,728 bytes allocated.
==4043== For counts of detected errors, rerun with: -v
==4043== searching for pointers to 2,929 not-freed blocks.
==4043== checked 462,736 bytes.
==4043==
==4043== LEAK SUMMARY:
==4043==    definitely lost: 0 bytes in 0 blocks.
==4043==      possibly lost: 46,880 bytes in 52 blocks.
==4043==    still reachable: 176,390 bytes in 2,877 blocks.
==4043==         suppressed: 0 bytes in 0 blocks.


Valgrind output program 2
<<see attachment>>

I am running Fedora 6 using gtk+-1.2.10-55.fc6, glib-1.2.10-26.fc6 and glib2-2.12.9-1.fc6

Can anyone explain what I might be doing wrong here?

Thanks in advance

Alwin Leerling



==4055== Memcheck, a memory error detector.
==4055== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==4055== Using LibVEX rev 1658, a library for dynamic binary translation.
==4055== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==4055== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==4055== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==4055== For more details, rerun with: -v
==4055== 
==4055== Syscall param writev(vector[...]) points to uninitialised byte(s)
==4055==    at 0x78BAE8: writev (in /lib/libc-2.5.so)
==4055==    by 0x6F0798D: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F0777E: _X11TransWritev (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F0D468: _XSend (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EFE38A: XQueryExtension (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF2CAA: XInitExtension (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x947CFF: XFixesFindDisplay (in /usr/lib/libXfixes.so.3.1.0)
==4055==    by 0x947FCC: XFixesQueryExtension (in /usr/lib/libXfixes.so.3.1.0)
==4055==    by 0x2034704: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==  Address 0x407A50C is 324 bytes inside a block of size 16,384 alloc'd
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6EF8406: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 51 from 2)
==4055== malloc/free: in use at exit: 1,056,363 bytes in 7,299 blocks.
==4055== malloc/free: 20,158 allocs, 12,859 frees, 3,067,720 bytes allocated.
==4055== For counts of detected errors, rerun with: -v
==4055== searching for pointers to 7,299 not-freed blocks.
==4055== checked 1,271,360 bytes.
==4055== 
==4055== 
==4055== 2 bytes in 1 blocks are still reachable in loss record 1 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F082C1: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F088AD: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EE43E2: _X11TransConnectDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF810C: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 5 bytes in 1 blocks are still reachable in loss record 2 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EE4552: _X11TransConnectDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF810C: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 6 bytes in 1 blocks are still reachable in loss record 3 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F226EF: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 8 bytes in 1 blocks are still reachable in loss record 4 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x9793C4: XcursorSetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EDC: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCBC6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA3F41: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA1B9A: g_object_newv (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA26FD: g_object_new_valist (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA28AF: g_object_new (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 8 bytes in 1 blocks are still reachable in loss record 5 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x978E7D: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCBC6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA3F41: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA1B9A: g_object_newv (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA26FD: g_object_new_valist (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 8 bytes in 1 blocks are still reachable in loss record 6 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F27A74: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1B97B: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1BDF1: _XlcOpenConverter (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22AC9: _XrmDefaultInitParseInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D04: _XrmInitParseInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F11CF0: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13807: XrmGetStringDatabase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EECE0D: XGetDefault (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x97926C: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 8 bytes in 1 blocks are still reachable in loss record 7 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F22AA1: _XrmDefaultInitParseInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D04: _XrmInitParseInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F11CF0: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13807: XrmGetStringDatabase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EECE0D: XGetDefault (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x97926C: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 8 bytes in 1 blocks are still reachable in loss record 8 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA9E579: _XiGetExtensionVersion (in /usr/lib/libXi.so.6.0.0)
==4055==    by 0xAA0648: _XiCheckExtInit (in /usr/lib/libXi.so.6.0.0)
==4055==    by 0xA9F0F5: XListInputDevices (in /usr/lib/libXi.so.6.0.0)
==4055==    by 0x205BF6B: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x205CEBB: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x203493E: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 9 bytes in 1 blocks are still reachable in loss record 9 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F29188: _XlcDefaultMapModifiers (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F2920E: XSetLocaleModifiers (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045E00: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0x2E7D5DB: gtk_parse_args (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D653: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 12 bytes in 1 blocks are still reachable in loss record 10 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7B96ED0: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B9710F: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B97CE3: cairo_ft_font_face_create_for_pattern (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D74A: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D795: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D94C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD6FF70: pango_fc_font_lock_face (in /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x4558018: (within /usr/lib/pango/1.5.0/modules/pango-basic-fc.so)
==4055==    by 0x5438A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5536C8: pango_shape (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5473A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 12 bytes in 1 blocks are still reachable in loss record 11 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA596B4: FcBlanksCreate (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70CE6: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6507E: FcInitLoadConfig (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650EB: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA651EB: FcInit (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 12 bytes in 1 blocks are still reachable in loss record 12 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x8B009D: XextCreateExtension (in /usr/lib/libXext.so.6.4.0)
==4055==    by 0xAA0570: XInput_find_display (in /usr/lib/libXi.so.6.0.0)
==4055==    by 0xA9F0CE: XListInputDevices (in /usr/lib/libXi.so.6.0.0)
==4055==    by 0x205BF6B: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x205CEBB: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x203493E: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 12 bytes in 1 blocks are still reachable in loss record 13 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F0C85C: XAddConnectionWatch (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x203459E: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 12 bytes in 1 blocks are still reachable in loss record 14 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F28C04: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0x2E7D5DB: gtk_parse_args (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D653: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 12 bytes in 1 blocks are still reachable in loss record 15 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F222CB: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0x2E7D5DB: gtk_parse_args (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 12 bytes in 1 blocks are still reachable in loss record 16 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F21AD7: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22269: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 16 bytes in 1 blocks are still reachable in loss record 17 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7BA85DB: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B8CE70: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B810BC: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B7BA03: cairo_show_glyphs (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D34C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x54F444: pango_renderer_draw_glyphs (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x89C893: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x201CE27: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x54F444: pango_renderer_draw_glyphs (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54FA3A: pango_renderer_draw_layout_line (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54FC59: pango_renderer_draw_layout (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 16 bytes in 1 blocks are still reachable in loss record 18 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F12344: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13300: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13830: XrmGetStringDatabase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EECE0D: XGetDefault (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x97926C: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 16 bytes in 1 blocks are still reachable in loss record 19 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F11CBE: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13807: XrmGetStringDatabase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EECE0D: XGetDefault (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x97926C: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCBC6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 16 bytes in 1 blocks are still reachable in loss record 20 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA8AA14: XRenderFindDisplay (in /usr/lib/libXrender.so.1.3.0)
==4055==    by 0xA8B89C: XRenderQueryExtension (in /usr/lib/libXrender.so.1.3.0)
==4055==    by 0x978DC1: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCBC6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA3F41: (within /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 16 bytes in 4 blocks are still reachable in loss record 21 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F2126C: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 19 bytes in 1 blocks are still reachable in loss record 22 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F0910E: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F086F5: _X11TransConnect (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EE43FC: _X11TransConnectDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF810C: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 19 bytes in 1 blocks are still reachable in loss record 23 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F090F5: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F086F5: _X11TransConnect (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EE43FC: _X11TransConnectDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF810C: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 20 bytes in 1 blocks are still reachable in loss record 24 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7B7E954: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B89A25: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B992E9: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B9960D: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B898CF: cairo_scaled_font_create (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D7C2: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D94C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD6FF70: pango_fc_font_lock_face (in /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x4558018: (within /usr/lib/pango/1.5.0/modules/pango-basic-fc.so)
==4055==    by 0x5438A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5536C8: pango_shape (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 20 bytes in 1 blocks are still reachable in loss record 25 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x947CD6: XFixesFindDisplay (in /usr/lib/libXfixes.so.3.1.0)
==4055==    by 0x947FCC: XFixesQueryExtension (in /usr/lib/libXfixes.so.3.1.0)
==4055==    by 0x2034704: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 20 bytes in 1 blocks are still reachable in loss record 26 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1D59F: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22599: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 21 bytes in 1 blocks are still reachable in loss record 27 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EF8637: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 24 bytes in 2 blocks are still reachable in loss record 28 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6E7F2: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6EF99: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F0B7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F66D: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA706A1: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70082: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA704F7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 24 bytes in 2 blocks are still reachable in loss record 29 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6E852: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6EFB7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F0B7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F66D: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA706A1: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70082: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA704F7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 24 bytes in 1 blocks are still reachable in loss record 30 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x94FC2F: XauFileName (in /usr/lib/libXau.so.6.0.0)
==4055==    by 0x94FE26: XauGetBestAuthByAddr (in /usr/lib/libXau.so.6.0.0)
==4055==    by 0x6EE4BC2: _X11TransConnectDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF810C: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 24 bytes in 1 blocks are still reachable in loss record 31 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0x6F1E3D8: _XlcResolveLocaleName (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22546: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 28 bytes in 1 blocks are still reachable in loss record 32 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0x6F1F913: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F204C3: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 29 bytes in 3 blocks are still reachable in loss record 33 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1A946: _XlcAddCT (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1AA4A: _XlcInitCTInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22457: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 32 bytes in 1 blocks are still reachable in loss record 34 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7BAB44A: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BAA988: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x203C2E5: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2013D13: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x201FE1F: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2013D13: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x202B554: gdk_window_begin_paint_region (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7CE24: gtk_main_do_event (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x202B96E: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x202BBA6: gdk_window_process_all_updates (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x202BC24: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 32 bytes in 2 blocks are still reachable in loss record 35 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x98DC2D: FT_New_Memory (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x98E006: FT_Init_FreeType (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x89E28B: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xCBC6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA3F41: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA1B9A: g_object_newv (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA26FD: g_object_new_valist (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA28AF: g_object_new (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0x89BACB: pango_cairo_font_map_new (in /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89BB0C: pango_cairo_font_map_get_default (in /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x201AB76: gdk_pango_context_get_for_screen (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 32 bytes in 1 blocks are still reachable in loss record 36 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EFDC42: _XrmInternalStringToQuark (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EFDE44: XrmStringToQuark (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1B5BC: _XlcGetCharSet (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1A73E: _XlcAddCT (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1AA4A: _XlcInitCTInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22457: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055== 
==4055== 
==4055== 36 bytes in 3 blocks are still reachable in loss record 37 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6E6E2: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6EFD5: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F0B7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F444: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA709AE: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70082: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA704F7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 36 bytes in 3 blocks are still reachable in loss record 38 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA64D14: FcFontSetCreate (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5DE75: FcConfigCreate (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA65060: FcInitLoadConfig (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650EB: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA651EB: FcInit (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5CECE: FcConfigGetCurrent (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D5A7: FcConfigSubstituteWithPat (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D616: FcConfigSubstitute (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0x89E1E1: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD70878: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0xD72BC0: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 36 bytes in 1 blocks are still reachable in loss record 39 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6EF8443: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 40 bytes in 1 blocks are still reachable in loss record 40 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F0B255: _XPollfdCacheInit (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF83A4: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 40 bytes in 3 blocks are still reachable in loss record 41 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0x6F20953: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 44 bytes in 1 blocks are still reachable in loss record 42 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6F07C3D: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F07F10: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F08C30: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EE43E2: _X11TransConnectDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF810C: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 46 bytes in 1 blocks are still reachable in loss record 43 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x731D0F: strdup (in /lib/libc-2.5.so)
==4055==    by 0x7B97075: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B97186: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B97CE3: cairo_ft_font_face_create_for_pattern (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D74A: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D795: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D94C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD6FF70: pango_fc_font_lock_face (in /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x4558018: (within /usr/lib/pango/1.5.0/modules/pango-basic-fc.so)
==4055==    by 0x5438A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5536C8: pango_shape (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 48 bytes in 1 blocks are still reachable in loss record 44 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x205A9D0: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2041774: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x203461B: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 52 bytes in 3 blocks are still reachable in loss record 45 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0x6F1C531: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CA58: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CB4F: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1D44D: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22599: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055== 
==4055== 
==4055== 59 bytes in 7 blocks are still reachable in loss record 46 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EF2CFF: XInitExtension (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F6444B: XkbUseExtension (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF8FEC: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 60 bytes in 3 blocks are still reachable in loss record 47 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7B826C4: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B96EE4: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B9710F: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B97CE3: cairo_ft_font_face_create_for_pattern (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D74A: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D795: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D94C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD6FF70: pango_fc_font_lock_face (in /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x4558018: (within /usr/lib/pango/1.5.0/modules/pango-basic-fc.so)
==4055==    by 0x5438A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5536C8: pango_shape (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 64 bytes in 2 blocks are still reachable in loss record 48 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA68B2D: FcMatrixCopy (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6E87D: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6EFB7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F0B7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F66D: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA706A1: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70082: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 64 bytes in 1 blocks are still reachable in loss record 49 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0x6F125BF: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13300: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13830: XrmGetStringDatabase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EECE0D: XGetDefault (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x97926C: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 64 bytes in 4 blocks are still reachable in loss record 50 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x8B00DF: XextAddDisplay (in /usr/lib/libXext.so.6.4.0)
==4055==    by 0x8AA79C: (within /usr/lib/libXext.so.6.4.0)
==4055==    by 0x8AB1DD: XShapeQueryExtension (in /usr/lib/libXext.so.6.4.0)
==4055==    by 0x2034736: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 68 bytes in 1 blocks are still reachable in loss record 51 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7B97B7D: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B97D23: cairo_ft_font_face_create_for_pattern (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D74A: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D795: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D94C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD6FF70: pango_fc_font_lock_face (in /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x4558018: (within /usr/lib/pango/1.5.0/modules/pango-basic-fc.so)
==4055==    by 0x5438A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5536C8: pango_shape (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5473A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x549E94: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 68 bytes in 1 blocks are still reachable in loss record 52 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA5DE01: FcConfigCreate (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA65060: FcInitLoadConfig (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650EB: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA651EB: FcInit (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5CECE: FcConfigGetCurrent (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D5A7: FcConfigSubstituteWithPat (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D616: FcConfigSubstitute (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0x89E1E1: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD70878: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0xD72BC0: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x543DCF: pango_font_map_load_fontset (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 80 bytes in 1 blocks are still reachable in loss record 53 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EF873A: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 84 bytes in 1 blocks are still reachable in loss record 54 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EF881A: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 84 bytes in 1 blocks are still reachable in loss record 55 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F21B2B: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22269: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 96 bytes in 6 blocks are still reachable in loss record 56 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6CAA4: FcStrSetCreate (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5DE26: FcConfigCreate (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA65060: FcInitLoadConfig (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650EB: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA651EB: FcInit (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5CECE: FcConfigGetCurrent (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D5A7: FcConfigSubstituteWithPat (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D616: FcConfigSubstitute (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0x89E1E1: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD70878: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0xD72BC0: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 96 bytes in 2 blocks are still reachable in loss record 57 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6B2759: _dl_new_object (in /lib/ld-2.5.so)
==4055==    by 0x6AE020: _dl_map_object_from_fd (in /lib/ld-2.5.so)
==4055==    by 0x6B037B: _dl_map_object (in /lib/ld-2.5.so)
==4055==    by 0x6B9840: dl_open_worker (in /lib/ld-2.5.so)
==4055==    by 0x6B5C35: _dl_catch_error (in /lib/ld-2.5.so)
==4055==    by 0x6B9221: _dl_open (in /lib/ld-2.5.so)
==4055==    by 0x830C4C: dlopen_doit (in /lib/libdl-2.5.so)
==4055==    by 0x6B5C35: _dl_catch_error (in /lib/ld-2.5.so)
==4055==    by 0x8312CB: _dlerror_run (in /lib/libdl-2.5.so)
==4055==    by 0x830B83: dlopen@@GLIBC_2.1 (in /lib/libdl-2.5.so)
==4055==    by 0xCD6388: g_module_open (in /lib/libgmodule-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 96 bytes in 2 blocks are still reachable in loss record 58 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6AF714: expand_dynamic_string_token (in /lib/ld-2.5.so)
==4055==    by 0x6B02B9: _dl_map_object (in /lib/ld-2.5.so)
==4055==    by 0x6B9840: dl_open_worker (in /lib/ld-2.5.so)
==4055==    by 0x6B5C35: _dl_catch_error (in /lib/ld-2.5.so)
==4055==    by 0x6B9221: _dl_open (in /lib/ld-2.5.so)
==4055==    by 0x830C4C: dlopen_doit (in /lib/libdl-2.5.so)
==4055==    by 0x6B5C35: _dl_catch_error (in /lib/ld-2.5.so)
==4055==    by 0x8312CB: _dlerror_run (in /lib/libdl-2.5.so)
==4055==    by 0x830B83: dlopen@@GLIBC_2.1 (in /lib/libdl-2.5.so)
==4055==    by 0xCD6388: g_module_open (in /lib/libgmodule-2.0.so.0.1200.9)
==4055==    by 0x2F45631: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 96 bytes in 1 blocks are still reachable in loss record 59 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F21B00: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22269: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 100 bytes in 1 blocks are still reachable in loss record 60 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xAA062C: _XiCheckExtInit (in /usr/lib/libXi.so.6.0.0)
==4055==    by 0xA9F0F5: XListInputDevices (in /usr/lib/libXi.so.6.0.0)
==4055==    by 0x205BF6B: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x205CEBB: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x203493E: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 100 bytes in 1 blocks are still reachable in loss record 61 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6F64578: XkbUseExtension (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF8FEC: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 112 bytes in 1 blocks are still reachable in loss record 62 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EF86B5: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 128 bytes in 1 blocks are still reachable in loss record 63 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA64CE6: FcFontSetAdd (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5B4F1: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA7032F: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70082: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA704F7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 132 bytes in 11 blocks are still reachable in loss record 64 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6E688: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6EFC6: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F0B7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F444: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA709AE: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 144 bytes in 12 blocks are still reachable in loss record 65 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6E8D2: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6EFF6: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F0B7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F1C6: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA7099E: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 144 bytes in 2 blocks are still reachable in loss record 66 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6EF2C0F: XAddExtension (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x978D6F: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCBC6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA3F41: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA1B9A: g_object_newv (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 144 bytes in 2 blocks are still reachable in loss record 67 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6B7383: _dl_check_map_versions (in /lib/ld-2.5.so)
==4055==    by 0x6B9B78: dl_open_worker (in /lib/ld-2.5.so)
==4055==    by 0x6B5C35: _dl_catch_error (in /lib/ld-2.5.so)
==4055==    by 0x6B9221: _dl_open (in /lib/ld-2.5.so)
==4055==    by 0x830C4C: dlopen_doit (in /lib/libdl-2.5.so)
==4055==    by 0x6B5C35: _dl_catch_error (in /lib/ld-2.5.so)
==4055==    by 0x8312CB: _dlerror_run (in /lib/libdl-2.5.so)
==4055==    by 0x830B83: dlopen@@GLIBC_2.1 (in /lib/libdl-2.5.so)
==4055==    by 0xCD6388: g_module_open (in /lib/libgmodule-2.0.so.0.1200.9)
==4055==    by 0x2F45631: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCBD997: g_type_module_use (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 168 bytes in 19 blocks are still reachable in loss record 68 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F12130: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13300: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13830: XrmGetStringDatabase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EECE0D: XGetDefault (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x97926C: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 172 bytes in 1 blocks are still reachable in loss record 69 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7B9716E: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B97CE3: cairo_ft_font_face_create_for_pattern (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D74A: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D795: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D94C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD6FF70: pango_fc_font_lock_face (in /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x4558018: (within /usr/lib/pango/1.5.0/modules/pango-basic-fc.so)
==4055==    by 0x5438A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5536C8: pango_shape (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5473A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x549E94: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 182 bytes in 3 blocks are still reachable in loss record 70 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0x6F1C569: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CA58: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CB4F: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1D44D: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22599: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055== 
==4055== 
==4055== 192 bytes in 16 blocks are still reachable in loss record 71 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7BACB65: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BACBE1: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BB6E1B: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BB727D: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BB745F: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B839CC: cairo_image_surface_create_for_data (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B96589: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B98D02: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B89C1A: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BA7EDF: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B8CE70: (within /usr/lib/libcairo.so.2.9.3)
==4055== 
==4055== 
==4055== 192 bytes in 4 blocks are still reachable in loss record 72 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6D46E: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6DA93: FcStrSetAddFilename (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5B6AA: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70576: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6507E: FcInitLoadConfig (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 214 bytes in 9 blocks are definitely lost in loss record 73 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6D527: FcStrCopy (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70C06: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70082: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA704F7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055== 
==4055== 
==4055== 224 bytes in 2 blocks are still reachable in loss record 74 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EE6694: XCreateGC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF8BA8: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 256 bytes in 1 blocks are still reachable in loss record 75 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0xA5961C: FcBlanksAdd (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70C4F: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6507E: FcInitLoadConfig (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650EB: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA651EB: FcInit (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 256 bytes in 1 blocks are still reachable in loss record 76 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6EF305A: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF3577: XInternAtom (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x204BEC2: gdk_x11_atom_to_xatom_for_display (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204D6B8: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x20345EB: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 260 bytes in 1 blocks are still reachable in loss record 77 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7B991D3: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B9960D: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B898CF: cairo_scaled_font_create (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D7C2: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D94C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD6FF70: pango_fc_font_lock_face (in /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x4558018: (within /usr/lib/pango/1.5.0/modules/pango-basic-fc.so)
==4055==    by 0x5438A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5536C8: pango_shape (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5473A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x549E94: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 268 bytes in 8 blocks are still reachable in loss record 78 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA5A9E7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5B0AF: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5B130: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5AD97: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5AEC6: FcDirCacheLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA61A5A: FcDirCacheRead (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D95D: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5DBDB: FcConfigBuildFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650FE: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA651EB: FcInit (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5CECE: FcConfigGetCurrent (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 288 bytes in 8 blocks are still reachable in loss record 79 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7BB8374: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BB744A: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B839CC: cairo_image_surface_create_for_data (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B96589: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B98D02: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B89C1A: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BA7EDF: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B8CE70: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B810BC: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B7BA03: cairo_show_glyphs (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D34C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 304 bytes in 38 blocks are still reachable in loss record 80 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1C670: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CA58: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CB4F: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1D44D: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22599: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055== 
==4055== 
==4055== 332 bytes in 9 blocks are still reachable in loss record 81 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1205C: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13300: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13830: XrmGetStringDatabase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EECE0D: XGetDefault (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x97926C: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 332 bytes in 1 blocks are still reachable in loss record 82 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x978D51: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCBC6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA3F41: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA1B9A: g_object_newv (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA26FD: g_object_new_valist (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 336 bytes in 7 blocks are still reachable in loss record 83 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1F8C8: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F204C3: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 360 bytes in 2 blocks are still reachable in loss record 84 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6B498B: _dl_map_object_deps (in /lib/ld-2.5.so)
==4055==    by 0x6B989C: dl_open_worker (in /lib/ld-2.5.so)
==4055==    by 0x6B5C35: _dl_catch_error (in /lib/ld-2.5.so)
==4055==    by 0x6B9221: _dl_open (in /lib/ld-2.5.so)
==4055==    by 0x830C4C: dlopen_doit (in /lib/libdl-2.5.so)
==4055==    by 0x6B5C35: _dl_catch_error (in /lib/ld-2.5.so)
==4055==    by 0x8312CB: _dlerror_run (in /lib/libdl-2.5.so)
==4055==    by 0x830B83: dlopen@@GLIBC_2.1 (in /lib/libdl-2.5.so)
==4055==    by 0xCD6388: g_module_open (in /lib/libgmodule-2.0.so.0.1200.9)
==4055==    by 0x2F45631: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCBD997: g_type_module_use (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 362 bytes in 38 blocks are still reachable in loss record 85 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1C622: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CA58: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CB4F: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1D44D: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22599: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055== 
==4055== 
==4055== 416 bytes in 52 blocks are still reachable in loss record 86 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1B62F: _XlcAddCharSet (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1A9BF: _XlcAddCT (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1AA4A: _XlcInitCTInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22457: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 448 bytes in 28 blocks are still reachable in loss record 87 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6A834: FcPatternCreate (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70A1F: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70082: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA704F7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055== 
==4055== 
==4055== 475 bytes in 19 blocks are still reachable in loss record 88 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6D810: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6D9E9: FcStrCopyFilename (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6DA81: FcStrSetAddFilename (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5B6E9: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5B70D: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA705EA: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055== 
==4055== 
==4055== 480 bytes in 40 blocks are still reachable in loss record 89 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA69474: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA69517: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6979D: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA69822: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6B980: FcPatternAdd (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6BA43: FcPatternBuild (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xD72B14: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x543DCF: pango_font_map_load_fontset (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x541E21: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x542161: pango_itemize_with_base_dir (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54A150: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 492 bytes in 41 blocks are still reachable in loss record 90 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1C7B0: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CB4F: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1D44D: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22599: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 504 bytes in 7 blocks are still reachable in loss record 91 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6EF2CD5: XInitExtension (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F6444B: XkbUseExtension (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF8FEC: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 516 bytes in 3 blocks are still reachable in loss record 92 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x7B826EC: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B96EE4: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B9710F: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B97CE3: cairo_ft_font_face_create_for_pattern (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D74A: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D795: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D94C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD6FF70: pango_fc_font_lock_face (in /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x4558018: (within /usr/lib/pango/1.5.0/modules/pango-basic-fc.so)
==4055==    by 0x5438A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5536C8: pango_shape (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 532 bytes in 19 blocks are indirectly lost in loss record 93 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA65F84: FcLangSetCreate (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6608F: FcLangSetCopy (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6B5CD: FcValueSave (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6B6EE: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6BCDB: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA683F2: FcFontRenderPrepare (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xD72CD8: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x543DCF: pango_font_map_load_fontset (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x541E21: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x542161: pango_itemize_with_base_dir (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54A150: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 536 bytes in 7 blocks are still reachable in loss record 94 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x7B98C4D: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B89C1A: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BA7EDF: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B8CE70: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B810BC: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B7BA03: cairo_show_glyphs (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D34C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x54F444: pango_renderer_draw_glyphs (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x89C893: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x201CE27: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x54F444: pango_renderer_draw_glyphs (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 552 bytes in 138 blocks are still reachable in loss record 95 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F124A3: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13300: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13830: XrmGetStringDatabase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EECE0D: XGetDefault (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x97926C: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 600 bytes in 50 blocks are still reachable in loss record 96 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6E622: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6EFA8: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F0B7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F1C6: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA7099E: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 606 bytes in 41 blocks are still reachable in loss record 97 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1C9B3: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CB4F: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1D44D: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22599: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 640 bytes in 1 blocks are still reachable in loss record 98 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0xA64C91: FcFontSetAdd (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D8F9: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D980: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5DBDB: FcConfigBuildFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650FE: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA651EB: FcInit (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5CECE: FcConfigGetCurrent (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D5A7: FcConfigSubstituteWithPat (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D616: FcConfigSubstitute (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0x89E1E1: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD70878: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 640 bytes in 40 blocks are still reachable in loss record 99 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7B7FFD2: cairo_font_options_copy (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x20290C4: gdk_screen_set_font_options (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4126: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4530: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCBC6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA3F41: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA1B9A: g_object_newv (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA26FD: g_object_new_valist (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA28AF: g_object_new (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 672 bytes in 1 blocks are still reachable in loss record 100 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1D4FD: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22599: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 677 bytes in 51 blocks are still reachable in loss record 101 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1B814: _XlcCreateDefaultCharSet (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1A9AC: _XlcAddCT (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1AA4A: _XlcInitCTInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22457: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 697 bytes in 27 blocks are still reachable in loss record 102 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EF30C3: _XUpdateAtomCache (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF3625: XInternAtom (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x204BEC2: gdk_x11_atom_to_xatom_for_display (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204D6B8: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x20345EB: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 704 bytes in 8 blocks are still reachable in loss record 103 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7B89C7B: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B8A9DB: cairo_scaled_font_glyph_extents (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89DAEC: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x53C22D: pango_font_get_glyph_extents (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0xD75C69: pango_ot_buffer_output (in /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x455827B: (within /usr/lib/pango/1.5.0/modules/pango-basic-fc.so)
==4055==    by 0x5438A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5536C8: pango_shape (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5473A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x549E94: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54A3FE: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 800 bytes in 20 blocks are possibly lost in loss record 104 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0xB157DD: g_malloc0 (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xCB483F: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCB49D4: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCB95BC: g_type_register_fundamental (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCC32DB: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCB5020: g_type_init_with_debug_flags (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCB5121: g_type_init (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0x2011EB5: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0x2E7D5DB: gtk_parse_args (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 820 bytes in 41 blocks are still reachable in loss record 105 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1C75D: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1CB4F: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1D44D: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22599: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 864 bytes in 27 blocks are still reachable in loss record 106 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1BCFB: _XlcSetConverter (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1AABA: _XlcInitCTInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22457: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 928 bytes in 8 blocks are still reachable in loss record 107 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7BB722A: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BB745F: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B839CC: cairo_image_surface_create_for_data (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B96589: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B98D02: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B89C1A: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BA7EDF: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B8CE70: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B810BC: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B7BA03: cairo_show_glyphs (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D34C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 1,032 bytes in 1 blocks are still reachable in loss record 108 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7B89370: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B89838: cairo_scaled_font_create (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D7C2: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x89D94C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD6FF70: pango_fc_font_lock_face (in /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x4558018: (within /usr/lib/pango/1.5.0/modules/pango-basic-fc.so)
==4055==    by 0x5438A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5536C8: pango_shape (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x5473A9: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x549E94: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54A3FE: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 1,068 bytes in 52 blocks are still reachable in loss record 109 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1B7A5: _XlcCreateDefaultCharSet (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1A9AC: _XlcAddCT (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1AA4A: _XlcInitCTInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22457: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 1,296 bytes in 2 blocks are still reachable in loss record 110 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6B250A: _dl_new_object (in /lib/ld-2.5.so)
==4055==    by 0x6AE020: _dl_map_object_from_fd (in /lib/ld-2.5.so)
==4055==    by 0x6B037B: _dl_map_object (in /lib/ld-2.5.so)
==4055==    by 0x6B9840: dl_open_worker (in /lib/ld-2.5.so)
==4055==    by 0x6B5C35: _dl_catch_error (in /lib/ld-2.5.so)
==4055==    by 0x6B9221: _dl_open (in /lib/ld-2.5.so)
==4055==    by 0x830C4C: dlopen_doit (in /lib/libdl-2.5.so)
==4055==    by 0x6B5C35: _dl_catch_error (in /lib/ld-2.5.so)
==4055==    by 0x8312CB: _dlerror_run (in /lib/libdl-2.5.so)
==4055==    by 0x830B83: dlopen@@GLIBC_2.1 (in /lib/libdl-2.5.so)
==4055==    by 0xCD6388: g_module_open (in /lib/libgmodule-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 1,332 (1,152 direct, 180 indirect) bytes in 9 blocks are definitely lost in loss record 111 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6AED3: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6B7E3: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6B8E6: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70A80: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70082: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 1,336 bytes in 1 blocks are still reachable in loss record 112 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6EF80C3: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 1,516 bytes in 1 blocks are still reachable in loss record 113 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA8B116: XRenderQueryFormats (in /usr/lib/libXrender.so.1.3.0)
==4055==    by 0xA8B849: XRenderQueryVersion (in /usr/lib/libXrender.so.1.3.0)
==4055==    by 0x9790E0: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCBC6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA3F41: (within /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 1,520 bytes in 76 blocks are indirectly lost in loss record 114 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA5CD12: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D164: FcConfigSubstituteWithPat (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6848A: FcFontRenderPrepare (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xD72CD8: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x543DCF: pango_font_map_load_fontset (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x541E21: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x542161: pango_itemize_with_base_dir (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54A150: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54AD2A: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x2E6E9CF: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCA9768: g_cclosure_marshal_VOID__BOXED (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 1,565 bytes in 48 blocks are still reachable in loss record 115 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1A76C: _XlcAddCT (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1AA4A: _XlcInitCTInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22457: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 1,764 bytes in 147 blocks are still reachable in loss record 116 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA5BBB5: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6EE87: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70496: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6507E: FcInitLoadConfig (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650EB: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 1,824 bytes in 8 blocks are still reachable in loss record 117 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x7B83858: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B839ED: cairo_image_surface_create_for_data (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B96589: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B98D02: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B89C1A: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7BA7EDF: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B8CE70: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B810BC: (within /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x7B7BA03: cairo_show_glyphs (in /usr/lib/libcairo.so.2.9.3)
==4055==    by 0x89D34C: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0x54F444: pango_renderer_draw_glyphs (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 2,048 bytes in 1 blocks are still reachable in loss record 118 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1D28E: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22599: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x204ABA6: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011EBA: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 2,048 bytes in 1 blocks are still reachable in loss record 119 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EFDA65: _XrmInternalStringToQuark (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EFDE44: XrmStringToQuark (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1B5BC: _XlcGetCharSet (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1A73E: _XlcAddCT (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1AA4A: _XlcInitCTInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22457: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055== 
==4055== 
==4055== 2,052 bytes in 171 blocks are still reachable in loss record 120 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6E572: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6FA58: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70396: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70082: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA704F7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 2,496 bytes in 52 blocks are still reachable in loss record 121 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1B752: _XlcCreateDefaultCharSet (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1A9AC: _XlcAddCT (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1AA4A: _XlcInitCTInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22457: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28D32: _XlcCurrentLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28FF6: XSupportsLocale (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2045DB2: (within /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 2,592 bytes in 2 blocks are still reachable in loss record 122 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EF889A: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 2,928 bytes in 183 blocks are still reachable in loss record 123 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F1241B: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13300: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13830: XrmGetStringDatabase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EECE0D: XGetDefault (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x97926C: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 3,328 bytes in 32 blocks are still reachable in loss record 124 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F0BF8B: _XEnq (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F0D785: _XReply (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EFE3A9: XQueryExtension (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EF2CAA: XInitExtension (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x947CFF: XFixesFindDisplay (in /usr/lib/libXfixes.so.3.1.0)
==4055==    by 0x947FCC: XFixesQueryExtension (in /usr/lib/libXfixes.so.3.1.0)
==4055==    by 0x2034704: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 3,460 bytes in 173 blocks are still reachable in loss record 125 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6E36D: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F1E7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA7099E: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6507E: FcInitLoadConfig (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650EB: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 3,960 bytes in 165 blocks are still reachable in loss record 126 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6E74D: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F468: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA709AE: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6507E: FcInitLoadConfig (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650EB: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 4,196 bytes in 11 blocks are still reachable in loss record 127 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0x98DD23: (within /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x994643: ft_mem_qrealloc (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x99472E: ft_mem_realloc (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x995B92: FT_CMap_New (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x9BED58: (within /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x9BF009: (within /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x99E10B: (within /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x993BFD: (within /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x995326: FT_Open_Face (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x995957: FT_New_Face (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x7B98023: (within /usr/lib/libcairo.so.2.9.3)
==4055== 
==4055== 
==4055== 5,148 bytes in 429 blocks are still reachable in loss record 128 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6E932: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6EFE4: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F0B7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6F444: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA709AE: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 5,152 bytes in 180 blocks are still reachable in loss record 129 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6A915: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6BE83: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6BF06: FcPatternAddString (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xD72B6B: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x543DCF: pango_font_map_load_fontset (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x541E21: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x542161: pango_itemize_with_base_dir (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54A150: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54AD2A: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x2E6E9CF: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xCA9768: g_cclosure_marshal_VOID__BOXED (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 5,752 bytes in 269 blocks are still reachable in loss record 130 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x400548A: realloc (vg_replace_malloc.c:306)
==4055==    by 0xB1573A: g_realloc (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xAFB34E: g_quark_from_static_string (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xCB4F4A: g_type_init_with_debug_flags (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCB5121: g_type_init (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0x2011EB5: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0x2E7D5DB: gtk_parse_args (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D653: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 6,274 bytes in 466 blocks are still reachable in loss record 131 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6D527: FcStrCopy (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6D571: FcStrSetAdd (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6FC29: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6507E: FcInitLoadConfig (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA650EB: FcInitLoadConfigAndFonts (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA651EB: FcInit (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5CECE: FcConfigGetCurrent (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D5A7: FcConfigSubstituteWithPat (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA5D616: FcConfigSubstitute (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0x89E1E1: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xD70878: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055== 
==4055== 
==4055== 7,904 bytes in 402 blocks are still reachable in loss record 132 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6F124EF: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13300: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F13830: XrmGetStringDatabase (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EECE0D: XGetDefault (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x97926C: _XcursorGetDisplayInfo (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x97936C: XcursorGetTheme (in /usr/lib/libXcursor.so.1.0.2)
==4055==    by 0x2032EB3: gdk_x11_display_set_cursor_theme (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE3EEE: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4522: gtk_settings_get_for_screen (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EE4664: gtk_settings_get_default (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2EFD59B: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 8,176 bytes in 1 blocks are still reachable in loss record 133 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EFD7F9: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EFDBF9: _XrmInternalStringToQuark (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6EFDE44: XrmStringToQuark (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1B5BC: _XlcGetCharSet (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1A73E: _XlcAddCT (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F1AA4A: _XlcInitCTInfo (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22457: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F201BA: (within /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F22287: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F441D9: _XlcUtf8Loader (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x6F28BF2: _XOpenLC (in /usr/lib/libX11.so.6.2.0)
==4055== 
==4055== 
==4055== 8,960 bytes in 448 blocks are indirectly lost in loss record 134 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xA6B685: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6B8E6: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70A80: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA11215: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA11E8C: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA12E8D: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA13DD4: (within /lib/libexpat.so.0.5.0)
==4055==    by 0xA0B5CA: XML_ParseBuffer (in /lib/libexpat.so.0.5.0)
==4055==    by 0xA6FD7B: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA70082: FcConfigParseAndLoad (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA704F7: (within /usr/lib/libfontconfig.so.1.1.0)
==4055== 
==4055== 
==4055== 14,143 bytes in 1 blocks are still reachable in loss record 135 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x6EF904E: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 15,696 (4,864 direct, 10,832 indirect) bytes in 19 blocks are definitely lost in loss record 136 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0xA6AE13: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6B7E3: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA6BCDB: (within /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xA683F2: FcFontRenderPrepare (in /usr/lib/libfontconfig.so.1.1.0)
==4055==    by 0xD72CD8: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
==4055==    by 0x543DCF: pango_font_map_load_fontset (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x541E21: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x542161: pango_itemize_with_base_dir (in /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54A150: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x54AD2A: (within /usr/lib/libpango-1.0.so.0.1400.10)
==4055==    by 0x2E6E9CF: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 16,384 bytes in 1 blocks are still reachable in loss record 137 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0x6EF8406: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==4055==    by 0x2034551: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D65E: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 19,092 bytes in 142 blocks are still reachable in loss record 138 of 143
==4055==    at 0x40054FB: realloc (vg_replace_malloc.c:306)
==4055==    by 0xB1573A: g_realloc (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xCB478E: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCB48F7: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCBCF0C: g_type_register_static (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA48F4: g_param_type_register_static (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA8944: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCB503E: g_type_init_with_debug_flags (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCB5121: g_type_init (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0x2011EB5: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 23,465 bytes in 901 blocks are still reachable in loss record 139 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0xB15875: g_malloc (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB28ED8: g_strdup (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB3559E: g_set_prgname (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB1BBA2: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0x2E7D5DB: gtk_parse_args (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D653: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7D693: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0x8048822: main (eample.c:56)
==4055== 
==4055== 
==4055== 43,200 bytes in 637 blocks are still reachable in loss record 140 of 143
==4055==    at 0x400473F: calloc (vg_replace_malloc.c:279)
==4055==    by 0xB157DD: g_malloc0 (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB250EE: (within /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB255FB: g_slice_alloc (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB019D8: g_hash_table_new_full (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB01A57: g_hash_table_new (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xAFB385: g_quark_from_static_string (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xCB4F4A: g_type_init_with_debug_flags (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCB5121: g_type_init (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0x2011EB5: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 53,944 bytes in 169 blocks are still reachable in loss record 141 of 143
==4055==    at 0x4004600: memalign (vg_replace_malloc.c:332)
==4055==    by 0x400465A: posix_memalign (vg_replace_malloc.c:421)
==4055==    by 0xB24DC8: (within /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB25807: g_slice_alloc (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB019D8: g_hash_table_new_full (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB01A57: g_hash_table_new (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xAFB385: g_quark_from_static_string (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xCB4F4A: g_type_init_with_debug_flags (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCB5121: g_type_init (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0x2011EB5: gdk_pre_parse_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2E7DA44: (within /usr/lib/libgtk-x11-2.0.so.0.1000.13)
==4055==    by 0xB1B4AC: g_option_context_parse (in /lib/libglib-2.0.so.0.1200.9)
==4055== 
==4055== 
==4055== 59,808 bytes in 44 blocks are possibly lost in loss record 142 of 143
==4055==    at 0x4004600: memalign (vg_replace_malloc.c:332)
==4055==    by 0x400465A: posix_memalign (vg_replace_malloc.c:421)
==4055==    by 0xB24DC8: (within /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB25807: g_slice_alloc (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xB25954: g_slice_alloc0 (in /lib/libglib-2.0.so.0.1200.9)
==4055==    by 0xCBC2C9: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA3F41: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA1B9A: g_object_newv (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA26FD: g_object_new_valist (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA28AF: g_object_new (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0x2034577: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055==    by 0x2011D5E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1000.13)
==4055== 
==4055== 
==4055== 709,564 bytes in 1,092 blocks are still reachable in loss record 143 of 143
==4055==    at 0x4005400: malloc (vg_replace_malloc.c:149)
==4055==    by 0x98DC7C: (within /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x98E07A: ft_mem_qalloc (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x9936B2: ft_mem_alloc (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x993952: FT_New_Library (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x98E016: FT_Init_FreeType (in /usr/lib/libfreetype.so.6.3.10)
==4055==    by 0x89E28B: (within /usr/lib/libpangocairo-1.0.so.0.1400.10)
==4055==    by 0xCBC6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA3F41: (within /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA1B9A: g_object_newv (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA26FD: g_object_new_valist (in /lib/libgobject-2.0.so.0.1200.9)
==4055==    by 0xCA28AF: g_object_new (in /lib/libgobject-2.0.so.0.1200.9)
==4055== 
==4055== LEAK SUMMARY:
==4055==    definitely lost: 6,230 bytes in 37 blocks.
==4055==    indirectly lost: 11,012 bytes in 543 blocks.
==4055==      possibly lost: 60,608 bytes in 64 blocks.
==4055==    still reachable: 978,513 bytes in 6,655 blocks.
==4055==         suppressed: 0 bytes in 0 blocks.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]