mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01: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:
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 >
|
||||
|
Loading…
Reference in New Issue
Block a user