diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-05-31 13:32:09 (GMT) |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-05-31 13:32:09 (GMT) |
commit | 3b6cde1cc05e4b36bf8053fc55383baa34954291 (patch) | |
tree | bada2530c0ab6c89eef89ebfdf0056f4ac3519b1 /plugins/uriparser/UriNormalize.c | |
parent | eacaad30433607fbdcf742aad4ff51aad5ddf749 (diff) | |
download | monitoring-plugins-3b6cde1cc05e4b36bf8053fc55383baa34954291.tar.gz |
updated bundled version of uriparser to 0.8.5
Diffstat (limited to 'plugins/uriparser/UriNormalize.c')
-rw-r--r-- | plugins/uriparser/UriNormalize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/uriparser/UriNormalize.c b/plugins/uriparser/UriNormalize.c index 49db9ff..d68c371 100644 --- a/plugins/uriparser/UriNormalize.c +++ b/plugins/uriparser/UriNormalize.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * uriparser - RFC 3986 URI parsing library | 2 | * uriparser - RFC 3986 URI parsing library |
3 | * | 3 | * |
4 | * Copyright (C) 2007, Weijia Song <songweijia@gmail.com> | 4 | * Copyright (C) 2007, Weijia Song <songweijia@gmail.com> |
5 | * Copyright (C) 2007, Sebastian Pipping <webmaster@hartwork.org> | 5 | * Copyright (C) 2007, Sebastian Pipping <sebastian@pipping.org> |
6 | * All rights reserved. | 6 | * All rights reserved. |
7 | * | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without |
@@ -434,8 +434,8 @@ static URI_INLINE UriBool URI_FUNC(MakeOwner)(URI_TYPE(Uri) * uri, | |||
434 | && (ranger->text.afterLast != NULL) | 434 | && (ranger->text.afterLast != NULL) |
435 | && (ranger->text.afterLast > ranger->text.first)) { | 435 | && (ranger->text.afterLast > ranger->text.first)) { |
436 | free((URI_CHAR *)ranger->text.first); | 436 | free((URI_CHAR *)ranger->text.first); |
437 | free(ranger); | ||
438 | } | 437 | } |
438 | free(ranger); | ||
439 | ranger = next; | 439 | ranger = next; |
440 | } | 440 | } |
441 | 441 | ||