summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 20572545f9..773340dea0 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -872,7 +872,7 @@ router_parse_exit_policy_from_string(const char *s)
err:
r = NULL;
done:
- free(tmp);
+ tor_free(tmp);
token_free(tok);
return r;
}
@@ -1009,7 +1009,7 @@ policy_read_failed:
tor_assert(newe->string);
log_fn(LOG_WARN,"Couldn't parse line '%s'. Dropping", newe->string);
tor_free(newe->string);
- free(newe);
+ tor_free(newe);
return NULL;
}