Commit 321f9872 authored by Oran Agra's avatar Oran Agra
Browse files

fix valgrind warning created by recent pidfile fix (#8235)

This isn't a leak, just an warning due to unreachable
allocation on the fork child.
Problem created by 92a483bc

(cherry picked from commit 2426aaa0)
parent 35da4aee
......@@ -4046,6 +4046,7 @@ void closeClildUnusedResourceAfterFork() {
/* Clear server.pidfile, this is the parent pidfile which should not
* be touched (or deleted) by the child (on exit / crash) */
zfree(server.pidfile);
server.pidfile = NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment