[Git][NTPsec/ntpsec][master] Plug a potential resource leak.

Eric S. Raymond gitlab at mg.gitlab.com
Fri Aug 10 08:42:14 UTC 2018


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
86de2202 by Eric S. Raymond at 2018-08-10T08:41:59Z
Plug a potential resource leak.

- - - - -


1 changed file:

- ntpd/refclock_oncore.c


Changes:

=====================================
ntpd/refclock_oncore.c
=====================================
@@ -713,6 +713,7 @@ oncore_start(
 	oncore_read_config(instance);
 
 	if (!oncore_ppsapi(instance)) {
+		close(fd1);
 		free(instance);
 		return false;
 	}



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/86de22020e873a542e85364122c52a6c79cdb941

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/86de22020e873a542e85364122c52a6c79cdb941
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180810/e68b86bb/attachment-0001.html>


More information about the vc mailing list