[epiphany] ephy-file-helpers: Free GBytes with g_bytes_unref()



commit b4dca2ea83d153cbdd9f2eea9e842e0744715624
Author: Iulian Radu <iulian radu67 gmail com>
Date:   Sat Oct 22 18:42:23 2016 +0300

    ephy-file-helpers: Free GBytes with g_bytes_unref()
    
    Fixes segfault when trying to open a download file.

 lib/ephy-file-helpers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 2761f23..5b401b5 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -549,7 +549,7 @@ load_mime_from_xml (void)
   }
 
   xmlFreeTextReader (reader);
-  g_object_unref (bytes);
+  g_bytes_unref (bytes);
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]