summaryrefslogtreecommitdiff
path: root/navit/command.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-04-26 22:56:24 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-04-26 22:56:24 +0000
commit82f2ab1502cf524e78f83165809c772f8cbd867c (patch)
tree08d418209968902d1bdfb049167ad4e1a1f95d61 /navit/command.c
parentd11981bdf78bffbf2f118a77812f8859119d8eac (diff)
downloadnavit-svn-82f2ab1502cf524e78f83165809c772f8cbd867c.tar.gz
Fix:Core:Remove result_free with wrong parameter
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5449 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/command.c')
-rw-r--r--navit/command.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/navit/command.c b/navit/command.c
index fe63a8e5..9b21c3f1 100644
--- a/navit/command.c
+++ b/navit/command.c
@@ -679,7 +679,6 @@ command_call_function(struct context *ctx, struct result *res)
}
} else if (!strcmp(function,"add_attr")) {
command_object_add_attr(ctx, &res->attr, list[0]);
- result_free(list[0]);
} else if (!strcmp(function,"remove_attr")) {
command_object_remove_attr(ctx, &res->attr, list[0]);
} else {