From 63418ae95eb9d61d2cffa56f7e8fbdb48aaaf703 Mon Sep 17 00:00:00 2001 From: David Horsley Date: Thu, 28 Jun 2018 10:16:54 -0400 Subject: nni_url_parse does not handle ipc and inproc a missing return causes ipc and inproc URLs to be parsed as usual. Results in a memory leak. --- src/core/url.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/url.c') diff --git a/src/core/url.c b/src/core/url.c index dfbd2a88..5e2317ea 100644 --- a/src/core/url.c +++ b/src/core/url.c @@ -307,6 +307,7 @@ nni_url_parse(nni_url **urlp, const char *raw) goto error; } *urlp = url; + return (0); } // Look for host part (including colon). Will be terminated by -- cgit v1.2.3-70-g09d2