diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-11-25 15:48:57 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-11-25 15:48:57 +0000 |
commit | 6e26d7b6efb362188f693690949f099c43241ab7 (patch) | |
tree | 9cb1c70730e5030df6eb83823329e1398b0a1dac /libsieve/sieve.l | |
parent | 35ddbb9e11099e147af1598c0e94e075d53f2059 (diff) | |
download | mailutils-6e26d7b6efb362188f693690949f099c43241ab7.tar.gz mailutils-6e26d7b6efb362188f693690949f099c43241ab7.tar.bz2 |
Use sieve_m.* memory allocation functions.
Diffstat (limited to 'libsieve/sieve.l')
-rw-r--r-- | libsieve/sieve.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsieve/sieve.l b/libsieve/sieve.l index 95fa72e5d..00e9cceea 100644 --- a/libsieve/sieve.l +++ b/libsieve/sieve.l @@ -444,7 +444,7 @@ number () int string () { - yylval.string = sieve_palloc (&sieve_machine->memory_pool, yyleng - 1); + yylval.string = sieve_malloc (sieve_machine, yyleng - 1); memcpy (yylval.string, yytext + 1, yyleng - 2); yylval.string[yyleng - 2] = 0; return STRING; @@ -497,7 +497,7 @@ multiline_finish () } /* Copy the contents */ - yylval.string = sieve_palloc (&sieve_machine->memory_pool, length + 1); + yylval.string = sieve_malloc (sieve_machine, length + 1); p = yylval.string; for (iterator_first (itr); !iterator_is_done (itr); iterator_next (itr)) { |