commit | 9b49c96a6a064c40779966960ad1c98d90d6011c | [log] [tgz] |
---|---|---|
author | Gonzalo Aguilar Delgado <gaguilar@aguilardelgado.com> | Tue Jul 02 02:13:09 2019 +0200 |
committer | James E. King III <jking@apache.org> | Mon Jul 01 20:13:09 2019 -0400 |
tree | 03c620bc45bdf837a00418d9de2c319aef7f0e72 | |
parent | 6c847d2d028c155534aee006a77a5dca783233c4 [diff] |
THRIFT-4842 - Fix memory leak on set property c_glib (#1773)
diff --git a/lib/c_glib/src/thrift/c_glib/protocol/thrift_multiplexed_protocol.c b/lib/c_glib/src/thrift/c_glib/protocol/thrift_multiplexed_protocol.c index 352e301..5084ead 100644 --- a/lib/c_glib/src/thrift/c_glib/protocol/thrift_multiplexed_protocol.c +++ b/lib/c_glib/src/thrift/c_glib/protocol/thrift_multiplexed_protocol.c
@@ -76,6 +76,7 @@ switch (property_id) { case PROP_THRIFT_MULTIPLEXED_PROTOCOL_SERVICE_NAME: + g_free(self->service_name); self->service_name = g_value_dup_string (value); break;