diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-09-05 11:09:59 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-09-05 11:09:59 -0700 |
commit | 3f508412a0919ce11723b44a87dc37876f7b7ca7 (patch) | |
tree | c1f8c844e27fa441b921777a1c9c3b27ccca71dc | |
parent | e8f6306054fb2ef0cc8595559ee843210d39562d (diff) |
Free the authority string before we return.
-rw-r--r-- | pcap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1466,6 +1466,7 @@ pcap_parse_source(const char *source, char **schemep, char **userinfop, port = NULL; } } + free(authority); /* * Everything else is the path. Strip off the leading /. |