Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
78449f38
Commit
78449f38
authored
32 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
check_kill_flag(): Don't call sfree(kill_list) unless kill_list is non-NULL.
parent
b3507a72
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/server/ChangeLog
+5
-0
5 additions, 0 deletions
src/server/ChangeLog
src/server/connections.c
+7
-4
7 additions, 4 deletions
src/server/connections.c
with
12 additions
and
4 deletions
src/server/ChangeLog
+
5
−
0
View file @
78449f38
Sat Apr 11 22:00:27 1992 Per Cederqvist (ceder@robin)
* connections.c (check_kill_flag): Small optimization: don't call
sfree when the kill_list is empty.
Fri Apr 10 13:46:41 1992 Per Cederqvist (ceder@lysator)
* Since lyskomd spended 25% of the time in check_kill_flag it was
...
...
This diff is collapsed.
Click to expand it.
src/server/connections.c
+
7
−
4
View file @
78449f38
/*
* $Id: connections.c,v 0.1
5
1992/04/1
0 11:56:3
0 ceder Exp $
* $Id: connections.c,v 0.1
6
1992/04/1
1 20:02:2
0 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -30,7 +30,7 @@
* Created by Willf|r 31/3-90. Mostly written by ceder.
*/
static
char
*
rcsid
=
"$Id: connections.c,v 0.1
5
1992/04/1
0 11:56:3
0 ceder Exp $"
;
static
char
*
rcsid
=
"$Id: connections.c,v 0.1
6
1992/04/1
1 20:02:2
0 ceder Exp $"
;
#include
<errno.h>
...
...
@@ -686,8 +686,11 @@ check_kill_flg(void)
}
}
sfree
(
kill_list
);
kill_list
=
NULL
;
if
(
kill_list
!=
NULL
)
{
sfree
(
kill_list
);
kill_list
=
NULL
;
}
}
static
void
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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