summaryrefslogtreecommitdiff
path: root/navit/speech
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-03-01 11:55:44 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-03-01 11:55:44 +0000
commit5cf7476bf4e5a38ae1971ff0913ae4353f129078 (patch)
tree7ac36d8ab6fc29ab3db4be193950fca304e67033 /navit/speech
parent5498648c8ee07b616c3573cf4175299e01d56383 (diff)
downloadnavit-5cf7476bf4e5a38ae1971ff0913ae4353f129078.tar.gz
Fix:speech_android:Uninitialized value
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4263 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/speech')
-rw-r--r--navit/speech/android/speech_android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/speech/android/speech_android.c b/navit/speech/android/speech_android.c
index 8debfe98d..db342d90e 100644
--- a/navit/speech/android/speech_android.c
+++ b/navit/speech/android/speech_android.c
@@ -127,7 +127,7 @@ speech_android_new(struct speech_methods *meth, struct attr **attrs, struct attr
struct speech_priv *this;
struct attr *flags;
*meth=speech_android_meth;
- this=g_new(struct speech_priv,1);
+ this=g_new0(struct speech_priv,1);
if (!speech_android_init(this)) {
g_free(this);
this=NULL;