This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

don't scm_must_malloc temp memory


With this change gdk-mbstowcs actually works.

        * gdk-support.c (gdk_property_change_list, gdk_property_change_vector,
        gdk_mbstowcs_interp, gdk_colormap_alloc_colors_interp): Use g_new
        rather than scm_must_malloc for temporary memory, since it's not
        subject to gc the way scm_must_malloc is meant to express, and
        negatives don't work with scm_done_malloc in Guile 1.6.4.
        gdk_property_change_list and gdk_property_change_vector were in fact
        missing scm_done_malloc, making scm_mallocated increase indefinitely.


Attachment: gdk-support.c.must-malloc.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]