[tracker/miner-userguide] fixup: free locales
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-userguide] fixup: free locales
- Date: Thu, 24 Nov 2011 12:52:22 +0000 (UTC)
commit 338c0ade174f9565f3c64fd46cbd0cb865765ef5
Author: Martyn Russell <martyn lanedo com>
Date: Thu Nov 24 12:52:10 2011 +0000
fixup: free locales
src/miners/fs/tracker-miner-userguides.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-userguides.c b/src/miners/fs/tracker-miner-userguides.c
index 0fd8145..22111a7 100644
--- a/src/miners/fs/tracker-miner-userguides.c
+++ b/src/miners/fs/tracker-miner-userguides.c
@@ -165,7 +165,11 @@ miner_userguides_basedir_add (TrackerMinerFS *fs,
locale,
short_locale);
}
+
+ g_free (short_locale);
}
+
+ g_free (locale);
} else {
g_warning ("Locale was not set which is unexpected, indexing ALL user guides");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]