1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-06-30 08:04:52 +02:00

Fix a alloc/free mismatch

Pointed out in http://bugzilla.redhat.com/show_bug.cgi?id=608453
by David Tardon.
This commit is contained in:
Matthias Clasen 2010-06-27 19:27:04 -04:00
parent d20969e07b
commit eb454a1cb4

@ -138,7 +138,7 @@ g_buffer_free_usernotify (GBuffer *buffer)
GUserNotifyBuffer *ubuffer = (GUserNotifyBuffer *) buffer;
ubuffer->user_destroy (ubuffer->user_data);
g_slice_free (GBuffer, buffer);
g_slice_free (GUserNotifyBuffer, ubuffer);
}
/* < private >