Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
9b21d6e3
...
9b21d6e383511b887d375cda0d22ebd40d7f63a1
authored
2005-11-01 09:30:26 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(pop_source): Clear sieve_filename if context_stack is empty.
1 parent
92157482
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
libsieve/sieve.l
libsieve/sieve.l
View file @
9b21d6e
...
...
@@ -306,13 +306,14 @@ pop_source ()
#ifndef FLEX_SCANNER
lex_delete_buffer (current_buffer);
#endif
if (sieve_filename)
free (sieve_filename);
if (!context_stack)
{
yyin = NULL;
sieve_filename = NULL;
return 1;
}
if (sieve_filename)
free (sieve_filename);
/* Restore previous context */
sieve_filename = context_stack->filename;
sieve_line_num = context_stack->line + 1; /* #include rule did not increment
...
...
Please
register
or
sign in
to post a comment