From a2d87ee4e3f1d2adbce0e71b9647fe63427a6739 Mon Sep 17 00:00:00 2001 From: xiaoweiwei Date: Tue, 11 Feb 2020 15:20:27 +0800 Subject: [PATCH] modify augtool execute err --- src/get.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/get.c b/src/get.c index 94b9ba24c..64dc5c102 100644 --- a/src/get.c +++ b/src/get.c @@ -455,6 +455,7 @@ static int match(struct state *state, struct lens *lens, if (count < -1) { regexp_match_error(state, lens, count, re); FREE(regs); + FREE(re->re); return -1; } state->regs = regs;