Commit b1ec6c36 authored by Daniel Fox Franke's avatar Daniel Fox Franke

Fix a memory leak

Ported from NTP classic [Sec 2909].
parent 1a165b52
......@@ -518,6 +518,7 @@ crypto_recv(
rval = XEVNT_ERR;
break;
}
free(peer->cmmd);
}
fp = emalloc(len);
memcpy(fp, ep, len);
......
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