Commit 82e24215 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Use g_free, since the buffer is allocated with g_try_alloc().

2001-02-07  Alexander Larsson  <alexl@redhat.com>

	* io-xpm.c (free_buffer):
	Use g_free, since the buffer is allocated with g_try_alloc().
parent 6aa710b9
2001-02-07 Alexander Larsson <alexl@redhat.com>
* io-xpm.c (free_buffer):
Use g_free, since the buffer is allocated with g_try_alloc().
2001-02-06 Christophe Merlet <redfox@eikonex.org>
* gdk-pixbuf-data.c: Fixes a minor typo.
......
......@@ -1229,7 +1229,7 @@ mem_buffer (enum buf_op op, gpointer handle)
static void
free_buffer (guchar *pixels, gpointer data)
{
free (pixels);
g_free (pixels);
}
/* This function does all the work. */
......
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