From 6ee78b0f7118a70dde6c31863cd4c3504bc31b47 Mon Sep 17 00:00:00 2001 From: woglinde Date: Sat, 16 Apr 2011 15:37:10 +0000 Subject: [PATCH] Fix:core:Fix small memleak found with valgrind, wordexp isn't needed after the name is set git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4431 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navit/navit/plugin.c b/navit/navit/plugin.c index 44ea7d1..4a3cc97 100644 --- a/navit/navit/plugin.c +++ b/navit/navit/plugin.c @@ -325,8 +325,8 @@ plugin_new(struct attr *parent, struct attr **attrs) { plugin_call_init(pl); } } - file_wordexp_destroy(we); } + file_wordexp_destroy(we); return pl; #endif } -- 2.7.4