Skip to content
Permalink
Browse files
HAWQ-417. Avoid pfree twice in checkPgDir2.
  • Loading branch information
ztao1987 committed Feb 18, 2016
1 parent 5c68e05 commit 7545aadeb7214b2469d75bc3fe2b3cba8a63eff8
Showing 1 changed file with 3 additions and 2 deletions.
@@ -1694,9 +1694,10 @@ static void checkPgDir2(const char *dir)
pfree(path);
/* quit all processes and exit */
pmdie(SIGQUIT);
} else {
/* pmdie won't exit postmaster until ImmediateShutdownLoop */
pfree(path);
}

pfree(path);
}


0 comments on commit 7545aad

Please sign in to comment.