In get_value() function ret_val is allocated from rcutils_strdup when type is DATA_TYPE_STRING, Should be deallocate in switch val_type=DATA_TYPE_STRING case. Signed-off-by: Chris Ye <chris.ye@intel.com> |
||
|---|---|---|
| .. | ||
| parser.c | ||
In get_value() function ret_val is allocated from rcutils_strdup when type is DATA_TYPE_STRING, Should be deallocate in switch val_type=DATA_TYPE_STRING case. Signed-off-by: Chris Ye <chris.ye@intel.com> |
||
|---|---|---|
| .. | ||
| parser.c | ||