forked from AuroraMiddleware/gtk
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().
This commit is contained in:
parent
6aa710b91b
commit
82e2421542
@ -1,3 +1,8 @@
|
||||
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. */
|
||||
|
Loading…
Reference in New Issue
Block a user