Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
f4d5e908
Commit
f4d5e908
authored
May 29, 2014
by
Jonathan Jenkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oops, uninitialized pointer
parent
6153f47e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/models/networks/model-net/model-net-sched-impl.c
src/models/networks/model-net/model-net-sched-impl.c
+2
-0
No files found.
src/models/networks/model-net/model-net-sched-impl.c
View file @
f4d5e908
...
...
@@ -262,10 +262,12 @@ void rr_add (
q
->
remote_event
=
malloc
(
remote_event_size
);
memcpy
(
q
->
remote_event
,
remote_event
,
remote_event_size
);
}
else
{
q
->
remote_event
=
NULL
;
}
if
(
local_event_size
>
0
){
q
->
local_event
=
malloc
(
local_event_size
);
memcpy
(
q
->
local_event
,
local_event
,
local_event_size
);
}
else
{
q
->
local_event
=
NULL
;
}
mn_sched
*
s
=
sched
;
qlist_add_tail
(
&
q
->
ql
,
&
s
->
reqs
);
}
...
...
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