projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f3bca3
)
Fix memory leak in tokenize_string_segment
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 2 Oct 2021 16:33:21 +0000
(18:33 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 2 Oct 2021 16:33:21 +0000
(18:33 +0200)
src/language/lexer/scan.c
patch
|
blob
|
history
diff --git
a/src/language/lexer/scan.c
b/src/language/lexer/scan.c
index b6baf5ce5511538ff34a6d17956aa652edbe34f6..eed9f57c221b13f77af4647ccfe28870728fe658 100644
(file)
--- a/
src/language/lexer/scan.c
+++ b/
src/language/lexer/scan.c
@@
-290,6
+290,7
@@
tokenize_string_segment__ (enum segment_type type,
else
{
tokenize_error__ (token, error);
+ ss_dealloc (&out);
return TOKENIZE_ERROR;
}
}