Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
b55a5c91
Commit
b55a5c91
authored
Sep 28, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed to small memory leaks
parent
4df52916
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
config.h
src/config.h
+1
-0
parserintf.h
src/parserintf.h
+4
-0
plantuml.cpp
src/plantuml.cpp
+1
-1
No files found.
src/config.h
View file @
b55a5c91
...
@@ -533,6 +533,7 @@ class Config
...
@@ -533,6 +533,7 @@ class Config
m_dict
=
new
QDict
<
ConfigOption
>
(
257
);
m_dict
=
new
QDict
<
ConfigOption
>
(
257
);
m_options
->
setAutoDelete
(
TRUE
);
m_options
->
setAutoDelete
(
TRUE
);
m_obsolete
->
setAutoDelete
(
TRUE
);
m_obsolete
->
setAutoDelete
(
TRUE
);
m_disabled
->
setAutoDelete
(
TRUE
);
m_initialized
=
FALSE
;
m_initialized
=
FALSE
;
create
();
create
();
}
}
...
...
src/parserintf.h
View file @
b55a5c91
...
@@ -147,6 +147,10 @@ class ParserManager
...
@@ -147,6 +147,10 @@ class ParserManager
*/
*/
ParserManager
()
ParserManager
()
:
m_defaultParser
(
0
)
{
m_parsers
.
setAutoDelete
(
TRUE
);
}
:
m_defaultParser
(
0
)
{
m_parsers
.
setAutoDelete
(
TRUE
);
}
~
ParserManager
()
{
delete
m_defaultParser
;
}
void
registerDefaultParser
(
ParserInterface
*
parser
)
void
registerDefaultParser
(
ParserInterface
*
parser
)
{
{
...
...
src/plantuml.cpp
View file @
b55a5c91
...
@@ -116,7 +116,7 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
...
@@ -116,7 +116,7 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
QCString
epstopdfArgs
(
maxCmdLine
);
QCString
epstopdfArgs
(
maxCmdLine
);
epstopdfArgs
.
sprintf
(
"
\"
%s.eps
\"
--outfile=
\"
%s.pdf
\"
"
,
baseName
,
baseName
);
epstopdfArgs
.
sprintf
(
"
\"
%s.eps
\"
--outfile=
\"
%s.pdf
\"
"
,
baseName
,
baseName
);
portable_sysTimerStart
();
portable_sysTimerStart
();
if
(
exitCode
=
portable_system
(
"epstopdf"
,
epstopdfArgs
)
!=
0
)
if
(
(
exitCode
=
portable_system
(
"epstopdf"
,
epstopdfArgs
)
)
!=
0
)
{
{
err
(
"Problems running epstopdf. Check your TeX installation! Exit code: %d
\n
"
,
exitCode
);
err
(
"Problems running epstopdf. Check your TeX installation! Exit code: %d
\n
"
,
exitCode
);
}
}
...
...
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