diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-06-04 11:26:59 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-06-04 11:26:59 -0700 |
commit | 88c9e1f88cd1e67ad4fb2834f3cad6160d5a3fbb (patch) | |
tree | 01b0135d5f68e2e9cb80ccdf774d9f687c33fda2 /quote.h | |
parent | 0eebf799db452dc1980931bd2f15efde5ecdf28c (diff) | |
download | nasm-88c9e1f88cd1e67ad4fb2834f3cad6160d5a3fbb.tar.gz |
Fix memory management issues with expanded %include
Ownership of the filename string was a bit fuzzy, with the result that
we were freeing it even though it was retained for use by __FILE__.
Clean up a number of other memory management issues with the new
quoting code, and change the stdscan implementation to one pass over
the string.
Diffstat (limited to 'quote.h')
-rw-r--r-- | quote.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ #include "compiler.h" char *nasm_quote(char *str, size_t len); -size_t nasm_unquote(char *str); +size_t nasm_unquote(char *str, char **endptr); char *nasm_skip_string(char *str); #endif /* NASM_QUOTE_H */ |