diff options
author | woglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-17 20:06:10 +0000 |
---|---|---|
committer | woglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-17 20:06:10 +0000 |
commit | ed680538e0f432cf17e50d161d43ec96a6f1cde6 (patch) | |
tree | 70517ec82b1e95f1af8152d847c6cad7aa70ddad /navit/speech.c | |
parent | 88780beeed20b828e397632a0f778f96d3e1af5b (diff) | |
download | navit-ed680538e0f432cf17e50d161d43ec96a6f1cde6.tar.gz |
Fix:Core:Fix possible memleak indirect found by analyzing valgrind output
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3030 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/speech.c')
-rw-r--r-- | navit/speech.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/speech.c b/navit/speech.c index c3e77f01b..861fe78fe 100644 --- a/navit/speech.c +++ b/navit/speech.c @@ -56,6 +56,7 @@ speech_new(struct attr *parent, struct attr **attrs) dbg(1, "say=%p\n", this_->meth.say); dbg(1,"priv=%p\n", this_->priv); if (! this_->priv) { + attr_list_free(this_->attrs); g_free(this_); return NULL; } |