summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/url.c b/stream/url.c
index 79a1eba19a..89d4eaaa7b 100644
--- a/stream/url.c
+++ b/stream/url.c
@@ -328,6 +328,7 @@ url_escape_string(char *outbuf, const char *inbuf) {
}
}
+ tmp = NULL;
while(i < len) {
// look for the next char that must be kept
for (j=i;j<len;j++) {