[tracker] tracker-extract: Initialize to zero the module data, to fix the statistics
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: Initialize to zero the module data, to fix the statistics
- Date: Wed, 23 Feb 2011 16:48:26 +0000 (UTC)
commit 0207d7c5b841f755f129eb4181b7b9e94550d97e
Author: Aleksander Morgado <aleksander lanedo com>
Date: Wed Feb 23 17:36:42 2011 +0100
tracker-extract: Initialize to zero the module data, to fix the statistics
Fixes GB#643090
src/tracker-extract/tracker-extract.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c
index 405f69e..dd0cee3 100644
--- a/src/tracker-extract/tracker-extract.c
+++ b/src/tracker-extract/tracker-extract.c
@@ -311,7 +311,7 @@ load_modules (const gchar *force_module,
g_module_make_resident (module);
if (g_module_symbol (module, EXTRACT_FUNCTION, (gpointer *) &func)) {
- ModuleData mdata;
+ ModuleData mdata = { 0 };
mdata.module = module;
mdata.edata = (func) ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]