Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
efcaad39
Commit
efcaad39
authored
Jun 24, 2014
by
Matteo Bruni
Committed by
Alexandre Julliard
Jun 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wpp: Free the include filename on error (Valgrind).
parent
f91fa372
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ppl.l
libs/wpp/ppl.l
+3
-0
No files found.
libs/wpp/ppl.l
View file @
efcaad39
...
...
@@ -1586,6 +1586,7 @@ void pp_do_include(char *fname, int type)
* If the define was deleted, then this entry would have
* been deleted too.
*/
free(fname);
return;
}
}
...
...
@@ -1595,6 +1596,7 @@ void pp_do_include(char *fname, int type)
if(n <= 2)
{
ppy_error("Empty include filename");
free(fname);
return;
}
...
...
@@ -1604,6 +1606,7 @@ void pp_do_include(char *fname, int type)
if((fp = pp_open_include(fname+1, type, pp_status.input, &newpath)) == NULL)
{
ppy_error("Unable to open include file %s", fname+1);
free(fname);
return;
}
...
...
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