projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d20969e
)
Fix a alloc/free mismatch
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 27 Jun 2010 23:27:04 +0000
(19:27 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 27 Jun 2010 23:27:04 +0000
(19:27 -0400)
Pointed out in http://bugzilla.redhat.com/show_bug.cgi?id=608453
by David Tardon.
glib/gbuffer.c
patch
|
blob
|
history
diff --git
a/glib/gbuffer.c
b/glib/gbuffer.c
index
4eb83df
..
5830f04
100644
(file)
--- a/
glib/gbuffer.c
+++ b/
glib/gbuffer.c
@@
-138,7
+138,7
@@
g_buffer_free_usernotify (GBuffer *buffer)
GUserNotifyBuffer *ubuffer = (GUserNotifyBuffer *) buffer;
ubuffer->user_destroy (ubuffer->user_data);
- g_slice_free (G
Buffer,
buffer);
+ g_slice_free (G
UserNotifyBuffer, u
buffer);
}
/* < private >