Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
639ce065
Commit
639ce065
authored
Jun 29, 2013
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Release storage allocated by flex
modified: storage/connect/fmdlex.c
parent
b8d6f973
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
storage/connect/fmdlex.c
storage/connect/fmdlex.c
+12
-13
No files found.
storage/connect/fmdlex.c
View file @
639ce065
...
...
@@ -20,11 +20,9 @@
*/
#define FLEX_SCANNER
#if WIN32
#define __STDC__ 1
#endif
#include <stdio.h>
...
...
@@ -520,10 +518,7 @@ YY_DECL
if
(
pp
->
InFmt
)
{
*
pp
->
InFmt
=
'\0'
;
pp
->
InFmt
[
pp
->
Outsize
-
1
]
=
'\0'
;
}
if
(
pp
->
OutFmt
)
{
*
pp
->
OutFmt
=
'\0'
;
pp
->
OutFmt
[
pp
->
Outsize
-
1
]
=
'\0'
;
}
pp
->
Curp
=
pp
->
Format
;
if
(
!
yy_init
)
{
/* Restart that stupid Flex otherwise parsing last input */
yy_init_buffer
(
yy_current_buffer
,
yyin
);
yy_load_buffer_state
();
}
// endif yy_init
yy_init
=
1
;
/* This is a new input */
if
(
yy_init
)
...
...
@@ -1520,6 +1515,10 @@ void Quotout(char *text)
int
yywrap
(
void
)
{
/* Avoid memory leak */
if
(
yy_current_buffer
)
yy_delete_buffer
(
yy_current_buffer
);
return
1
;
}
/* end of yywrap */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment