A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix null pointer dereference.
[simgrid.git]
/
src
/
s4u
/
s4u_Actor.cpp
diff --git
a/src/s4u/s4u_Actor.cpp
b/src/s4u/s4u_Actor.cpp
index
34ae162
..
d4ecc67
100644
(file)
--- a/
src/s4u/s4u_Actor.cpp
+++ b/
src/s4u/s4u_Actor.cpp
@@
-44,7
+44,6
@@
ActorPtr Actor::init(std::string name, s4u::Host* host)
smx_actor_t self = SIMIX_process_self();
simgrid::kernel::actor::ActorImpl* actor =
simgrid::simix::simcall([self, name, host] { return self->init(std::move(name), host).get(); });
- intrusive_ptr_release(actor);
return actor->ciface();
}