Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
b0a4e029
Commit
b0a4e029
authored
16 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
free what we no longer need
parent
32e83135
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/include/ZMap/zmapConfigLoader.h
+3
-3
3 additions, 3 deletions
src/include/ZMap/zmapConfigLoader.h
src/zmapView/zmapView.c
+5
-4
5 additions, 4 deletions
src/zmapView/zmapView.c
with
8 additions
and
7 deletions
src/include/ZMap/zmapConfigLoader.h
+
3
−
3
View file @
b0a4e029
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See XXXXXXXXXXXXX.h
* HISTORY:
* Last edited:
Sep 30 15:22
2008 (rds)
* Last edited:
Oct 2 08:59
2008 (rds)
* Created: Tue Aug 26 12:39:42 2008 (rds)
* CVS info: $Id: zmapConfigLoader.h,v 1.
1
2008-10-0
1 15:27
:3
4
rds Exp $
* CVS info: $Id: zmapConfigLoader.h,v 1.
2
2008-10-0
2 08:33
:3
0
rds Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -44,6 +44,6 @@
ZMapConfigIniContext
zMapConfigIniContextProvide
();
GList
*
zMapConfigIniContextGetSources
(
ZMapConfigIniContext
context
);
void
zMapConfigSourcesFreeList
(
GList
*
config_sources_list
);
#endif
/* ZMAP_CONFIG_LOADER_H */
This diff is collapsed.
Click to expand it.
src/zmapView/zmapView.c
+
5
−
4
View file @
b0a4e029
...
...
@@ -25,9 +25,9 @@
* Description:
* Exported functions: See ZMap/zmapView.h
* HISTORY:
* Last edited: Oct
1 16:43
2008 (rds)
* Last edited: Oct
2 09:11
2008 (rds)
* Created: Thu May 13 15:28:26 2004 (edgrif)
* CVS info: $Id: zmapView.c,v 1.13
5
2008-10-0
1 15:4
3:1
5
rds Exp $
* CVS info: $Id: zmapView.c,v 1.13
6
2008-10-0
2 08:3
3:1
1
rds Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -311,7 +311,7 @@ gboolean zMapViewConnect(ZMapView zmap_view, char *config_str)
else
{
ZMapConfigIniContext
context
;
GList
*
settings_list
=
NULL
;
GList
*
settings_list
=
NULL
,
*
free_this_list
=
NULL
;
zMapStartTimer
(
ZMAP_GLOBAL_TIMER
)
;
...
...
@@ -335,7 +335,7 @@ gboolean zMapViewConnect(ZMapView zmap_view, char *config_str)
}
/* Set up connections to the named servers. */
if
(
result
&&
settings_list
)
if
(
result
&&
(
free_this_list
=
settings_list
)
)
{
int
connections
=
0
;
...
...
@@ -419,6 +419,7 @@ gboolean zMapViewConnect(ZMapView zmap_view, char *config_str)
if
(
!
connections
)
result
=
FALSE
;
zMapConfigSourcesFreeList
(
free_this_list
);
}
else
result
=
FALSE
;
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment