summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2009-10-30 21:12:02 +0000
committerJonny Lamb <jonnylamb@gnome.org>2009-11-29 15:48:52 +0000
commit40e5b44c07c5eddb2cb53a485fb64e407bda1a40 (patch)
treeb82edd5561deac19275e0d8eb647682bc494e4fc
parentb80a80e50208ab617de7eb64450b925ea8326f2e (diff)
Use g_mapped_file_unref instead of _free.
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
-rw-r--r--libempathy/empathy-log-store-pidgin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-log-store-pidgin.c b/libempathy/empathy-log-store-pidgin.c
index fb399e9e9..36d3e3d36 100644
--- a/libempathy/empathy-log-store-pidgin.c
+++ b/libempathy/empathy-log-store-pidgin.c
@@ -702,7 +702,7 @@ log_store_pidgin_search_new (EmpathyLogStore *self,
contents = g_mapped_file_get_contents (file);
contents_casefold = g_utf8_casefold (contents, length);
- g_mapped_file_free (file);
+ g_mapped_file_unref (file);
if (strstr (contents_casefold, text_casefold))
{