diff --git a/http.c b/http.c index 243bdf5..3fa0da0 100644 --- a/http.c +++ b/http.c @@ -1105,7 +1105,6 @@ static int view(struct mg_connection *conn, const char *viewname) json_append_member(obj, "data", locarray); json_delete(view); - json_delete(locarray); return (json_response(conn, obj)); /* NOTREACHED */