mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 13:10:07 +00:00
Fix a memory leak when retrieving atom names. (Michael Meeks, #64508)
Mon Nov 19 11:30:03 2001 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a memory leak when retrieving atom names. (Michael Meeks, #64508)
This commit is contained in:
parent
ecbfe81b06
commit
d2e2773146
@ -1,3 +1,9 @@
|
|||||||
|
Mon Nov 19 11:30:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a
|
||||||
|
memory leak when retrieving atom names. (Michael Meeks,
|
||||||
|
#64508)
|
||||||
|
|
||||||
2001-11-18 Alex Larsson <alexl@redhat.com>
|
2001-11-18 Alex Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Nov 19 11:30:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a
|
||||||
|
memory leak when retrieving atom names. (Michael Meeks,
|
||||||
|
#64508)
|
||||||
|
|
||||||
2001-11-18 Alex Larsson <alexl@redhat.com>
|
2001-11-18 Alex Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Nov 19 11:30:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a
|
||||||
|
memory leak when retrieving atom names. (Michael Meeks,
|
||||||
|
#64508)
|
||||||
|
|
||||||
2001-11-18 Alex Larsson <alexl@redhat.com>
|
2001-11-18 Alex Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Nov 19 11:30:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a
|
||||||
|
memory leak when retrieving atom names. (Michael Meeks,
|
||||||
|
#64508)
|
||||||
|
|
||||||
2001-11-18 Alex Larsson <alexl@redhat.com>
|
2001-11-18 Alex Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Nov 19 11:30:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a
|
||||||
|
memory leak when retrieving atom names. (Michael Meeks,
|
||||||
|
#64508)
|
||||||
|
|
||||||
2001-11-18 Alex Larsson <alexl@redhat.com>
|
2001-11-18 Alex Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Nov 19 11:30:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a
|
||||||
|
memory leak when retrieving atom names. (Michael Meeks,
|
||||||
|
#64508)
|
||||||
|
|
||||||
2001-11-18 Alex Larsson <alexl@redhat.com>
|
2001-11-18 Alex Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Nov 19 11:30:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a
|
||||||
|
memory leak when retrieving atom names. (Michael Meeks,
|
||||||
|
#64508)
|
||||||
|
|
||||||
2001-11-18 Alex Larsson <alexl@redhat.com>
|
2001-11-18 Alex Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
|
||||||
|
@ -263,7 +263,7 @@ get_atom_name (GdkAtom atom)
|
|||||||
virtual_atom_check_init ();
|
virtual_atom_check_init ();
|
||||||
|
|
||||||
if (ATOM_TO_INDEX (atom) < virtual_atom_array->len)
|
if (ATOM_TO_INDEX (atom) < virtual_atom_array->len)
|
||||||
return g_strdup (g_ptr_array_index (virtual_atom_array, ATOM_TO_INDEX (atom)));
|
return g_ptr_array_index (virtual_atom_array, ATOM_TO_INDEX (atom));
|
||||||
else
|
else
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user