diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-03-01 11:55:44 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-03-01 11:55:44 +0000 |
commit | 6f0dddf84daa9ad70f911e7f0faca582a262fa68 (patch) | |
tree | 7ac36d8ab6fc29ab3db4be193950fca304e67033 /navit/speech | |
parent | bc4d8ec3df3a48033b6a5529808a6bf41c518769 (diff) | |
download | navit-svn-6f0dddf84daa9ad70f911e7f0faca582a262fa68.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/speech/android/speech_android.c b/navit/speech/android/speech_android.c index 8debfe98..db342d90 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; |