Use g_autoptr(GBytes) instead of gs_unref_bytes

This commit is contained in:
Matthew Barnes committed 2015-05-06 22:07:10 -04:00
1 parent 3f044267b5
commit e6556dd223
11 files changed
+30 -30

No files matched your search

+1 -1
View File
@@ -380,7 +380,7 @@ on_stream_read (GObject *object,
gpointer user_data)
{
OstreeFetcherPendingURI *pending = user_data;
gs_unref_bytes GBytes *bytes = NULL;
g_autoptr(GBytes) bytes = NULL;
gsize bytes_read;
GError *local_error = NULL;
GError **error = &local_error;