Skip to content
Snippets Groups Projects
Commit 634fb8d3 authored by Simon Marlow's avatar Simon Marlow
Browse files

escape(): don't forget the final '\0'

Hopefully should fix random "bad heap profile" failures in the nightly
builds.
parent 22b51daa
No related merge requests found
...@@ -50,6 +50,7 @@ escape(char *result, const char *name) ...@@ -50,6 +50,7 @@ escape(char *result, const char *name)
} }
*result++ = *name++; *result++ = *name++;
} }
*result = '\0';
} }
static void static void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment