mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-30 19:06:38 +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:
@@ -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 >
|
||||
|
Reference in New Issue
Block a user