No description
Find a file
Chris Lalancette c1232a7288 Fix memory problems in rcl. (#158)
* Fix memory problems in rcl.

There are actually two problems here.  In one of the problems,
we were sometimes taking an rcl_guard_condition that we did *not*
allocate, and trying to deallocate it.  This was leading to
double frees.

The second problem was forgetting to call guard_condition_fini
during node_fini.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

* Drop duplicated check for overwriting previous error.

As pointed out by Dirk in review, the RCL_SET_ERROR_MSG
macro (through the rcutils_set_error_state() function)
already checks to see if a message is being dropped and
warns about it.  Thus, we don't need to do it ourselves.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2017-08-10 15:11:16 -07:00
rcl Fix memory problems in rcl. (#158) 2017-08-10 15:11:16 -07:00
rcl_lifecycle use macros 2017-08-10 12:08:18 -07:00
.gitignore Initial commit 2015-02-20 16:06:40 -08:00
CONTRIBUTING.md add missing copyright / license information, update format of existing license information 2015-04-02 09:53:02 -07:00
LICENSE align LICENSE file with template 2015-04-03 12:47:47 -07:00
README.md Initial commit 2015-02-20 16:06:40 -08:00

rcl

Library to support implementation of language specific ROS Client Libraries.