Skip to content
Snippets Groups Projects
Commit d9665518 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Resolved potential resource leak.

parent cf5f4c12
No related branches found
No related tags found
No related merge requests found
......@@ -395,6 +395,7 @@ static inline int udp_master_recvmmsg(dthread_t *thread, stat_t *thread_stat)
free(addrs);
free(iov);
free(msgs);
close(sock);
return KNOTD_ENOMEM;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment