projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2006-11-13 [wwp] 2.6.0cvs39
[claws.git]
/
src
/
quote_fmt_parse.y
diff --git
a/src/quote_fmt_parse.y
b/src/quote_fmt_parse.y
index d2107a48f52b67f0a956c86ecab659c7ad504789..265aac601e071076fb061837e5c0e6d86d558b01 100644
(file)
--- a/
src/quote_fmt_parse.y
+++ b/
src/quote_fmt_parse.y
@@
-116,6
+116,9
@@
static void clear_buffer(void)
{
if (current->buffer)
*current->buffer = '\0';
{
if (current->buffer)
*current->buffer = '\0';
+ else
+ /* force to an empty string, as buffer should not be left unallocated */
+ add_buffer("");
current->bufsize = 0;
}
current->bufsize = 0;
}