[grilo] core: Fix leak



commit 0c725a07a5eac6aea6e5060c3d10f9441611ce5a
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Tue Jul 13 14:08:09 2010 +0200

    core: Fix leak
    
    Free error.

 src/grl-metadata-source.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/grl-metadata-source.c b/src/grl-metadata-source.c
index 5884181..f3bdf6c 100644
--- a/src/grl-metadata-source.c
+++ b/src/grl-metadata-source.c
@@ -1040,6 +1040,7 @@ grl_metadata_source_set_metadata (GrlMetadataSource *source,
 			 GRL_ERROR_SET_METADATA_FAILED,
 			 "None of the specified keys is writable");
     callback (source, media, failed_keys, user_data, error);
+    g_error_free (error);
     g_list_free (failed_keys);
     return;
   }



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