[tracker/tracker-0.10] tracker-extract: Initialize to zero the module data, to fix the statistics
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-extract: Initialize to zero the module data, to fix the statistics
- Date: Wed, 2 Mar 2011 14:45:57 +0000 (UTC)
commit d014274e6b7f6f9b9a4222810bfbae7024974c90
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]