]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-ft-handler.c
Merge remote-tracking branch 'jonny/ft'
[empathy.git] / libempathy / empathy-ft-handler.c
index 4b2d7e025f9cb1cb255b6f577d1acf78b043049b..c701b193d9e5c6ef491d1296e69e6e5cc7a4cd4a 100644 (file)
@@ -1133,7 +1133,7 @@ set_content_hash_type_from_classes (EmpathyFTHandler *handler,
 
   if (!support_ft)
     {
-      g_array_free (possible_values, TRUE);
+      g_array_unref (possible_values);
       return FALSE;
     }
 
@@ -1166,7 +1166,7 @@ set_content_hash_type_from_classes (EmpathyFTHandler *handler,
     }
 
 out:
-  g_array_free (possible_values, TRUE);
+  g_array_unref (possible_values);
 
   DEBUG ("Hash enabled %s; setting content hash type as %u",
          priv->use_hash ? "True" : "False", priv->content_hash_type);