Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
30ec3665
Commit
30ec3665
authored
Oct 11, 2010
by
Thomas White
Browse files
Tidy up memory leaks
parent
a22d0dc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/index.c
View file @
30ec3665
...
...
@@ -60,8 +60,10 @@ void cleanup_indexing(IndexingPrivate *priv)
{
switch
(
priv
->
indm
)
{
case
INDEXING_NONE
:
free
(
priv
);
break
;
case
INDEXING_DIRAX
:
free
(
priv
);
break
;
case
INDEXING_TEMPLATE
:
free_templates
(
priv
);
...
...
src/indexamajig.c
View file @
30ec3665
...
...
@@ -664,6 +664,7 @@ int main(int argc, char *argv[])
ERROR
(
"Unrecognised peak detection method '%s'
\n
"
,
speaks
);
return
1
;
}
free
(
speaks
);
if
(
intfile
!=
NULL
)
{
ReflItemList
*
items
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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