projects
/
platform
/
upstream
/
libsoup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ee3fe8
)
Fix a warning in last commit
author
Dan Winship
<danw@gnome.org>
Fri, 25 May 2012 12:35:32 +0000
(08:35 -0400)
committer
Dan Winship
<danw@gnome.org>
Fri, 25 May 2012 15:17:50 +0000
(11:17 -0400)
libsoup/soup-message-body.c
patch
|
blob
|
history
diff --git
a/libsoup/soup-message-body.c
b/libsoup/soup-message-body.c
index
899c04a
..
9a6ad75
100644
(file)
--- a/
libsoup/soup-message-body.c
+++ b/
libsoup/soup-message-body.c
@@
-323,7
+323,9
@@
soup_buffer_get_as_bytes (SoupBuffer *buffer)
SoupBuffer *copy;
copy = soup_buffer_copy (buffer);
- return g_bytes_new_with_free_func (copy->data, copy->length, soup_buffer_free, copy);
+ return g_bytes_new_with_free_func (copy->data, copy->length,
+ (GDestroyNotify)soup_buffer_free,
+ copy);
}
GType