mirror of
https://github.com/mirror/wget.git
synced 2025-01-03 00:40:28 +08:00
* src/css-url.c (get_urls_css): Call yylex_destroy() to reset CSS scanner
This commit is contained in:
parent
c1a368af89
commit
d25d036fba
@ -61,6 +61,7 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
|
||||
extern YY_BUFFER_STATE yy_scan_bytes (const char *bytes,int len );
|
||||
extern void yy_delete_buffer (YY_BUFFER_STATE b);
|
||||
extern int yylex (void);
|
||||
extern void yylex_destroy(void);
|
||||
|
||||
/*
|
||||
Given a detected URI token, get only the URI specified within.
|
||||
@ -192,6 +193,7 @@ get_urls_css (struct map_context *ctx, int offset, int buf_length)
|
||||
}
|
||||
|
||||
yy_delete_buffer(b);
|
||||
yylex_destroy();
|
||||
|
||||
DEBUGP (("\n"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user