53967bd698
This fix includes two parts: (a) we now initialize the keyval pointer locations to NULL after the malloc, and (b) we now OBJ_NEW the keyvals prior to storing info in them. BTW, in case anyone reads this and wonders why we don't just OBJ_NEW the keyvals in create_value, the reason is simply that some places in the code use static keyvals and simply assign those addresses into the value object's array. So not everyone wants to OBJ_NEW keyvals - by not forcing it here in create_value, we give the user the flexibility to do whatever they want. This commit was SVN r13300. |
||
---|---|---|
.. | ||
data_type_support | ||
pack_api_cmd | ||
unpack_api_response | ||
base.h | ||
gpr_base_close.c | ||
gpr_base_create_value_keyval.c | ||
gpr_base_open.c | ||
gpr_base_select.c | ||
gpr_base_simplified_put.c | ||
gpr_base_simplified_subscribe.c | ||
Makefile.am |