Commit d2e27731 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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)
parent ecbfe81b
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>
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
......
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>
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
......
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>
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
......
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>
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
......
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>
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
......
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>
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
......
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>
* gdk/x11/gdkfont-x11.c (gdk_font_from_description):
......
......@@ -263,7 +263,7 @@ get_atom_name (GdkAtom atom)
virtual_atom_check_init ();
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
return NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment