fix mem leak

This commit is contained in:
Liu Jicong 2022-01-18 16:17:58 +08:00
parent d14a599a32
commit cc8a02aeb4
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ int walCheckAndRepairMeta(SWal* pWal) {
} }
} }
closedir(dir);
regfree(&logRegPattern); regfree(&logRegPattern);
regfree(&idxRegPattern); regfree(&idxRegPattern);