[tracker] libtracker-extract: plug 2 memleaks in module manager.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-extract: plug 2 memleaks in module manager.
- Date: Thu, 17 Mar 2011 13:22:09 +0000 (UTC)
commit a2e7809405c17c4da475105800d1e3417c6d6c09
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Mar 17 14:14:25 2011 +0100
libtracker-extract: plug 2 memleaks in module manager.
Spotted by Aleksander.
src/libtracker-extract/tracker-module-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-module-manager.c b/src/libtracker-extract/tracker-module-manager.c
index c7b6fca..1e44995 100644
--- a/src/libtracker-extract/tracker-module-manager.c
+++ b/src/libtracker-extract/tracker-module-manager.c
@@ -76,6 +76,8 @@ load_extractor_rule (GKeyFile *key_file,
}
g_array_append_val (rules, rule);
+ g_strfreev (mimetypes);
+ g_free (module_path);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]