Skip to content

Commit

Permalink
Revert "Reset RMWCount when DEALLOC rmw storage of wait set (#209)" (#…
Browse files Browse the repository at this point in the history
…210)

This reverts commit 1d35c60.
  • Loading branch information
wjwwood authored Jan 23, 2018
1 parent 1d35c60 commit 77321c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rcl/src/rcl/wait.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ rcl_wait_set_get_allocator(const rcl_wait_set_t * wait_set, rcl_allocator_t * al
if (wait_set->impl->RMWStorage) { \
allocator.deallocate((void *)wait_set->impl->RMWStorage, allocator.state); \
wait_set->impl->RMWStorage = NULL; \
wait_set->impl->RMWCount = 0; \
}

#define SET_RESIZE_RMW_REALLOC(Type, RMWStorage, RMWCount) \
Expand Down

0 comments on commit 77321c6

Please sign in to comment.