Revert "Reset RMWCount when DEALLOC rmw storage of wait set (#209)" (#210)

This reverts commit 1d35c60c7b.
This commit is contained in:
William Woodall 2018-01-23 01:04:38 -08:00 committed by GitHub
parent 1d35c60c7b
commit 77321c62eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) \