THRIFT-4842 - Fix memory leak on set property c_glib (#1773)

This commit is contained in:
Gonzalo Aguilar Delgado 2019-07-02 02:13:09 +02:00 committed by James E. King III
parent 6c847d2d02
commit 9b49c96a6a

View File

@ -76,6 +76,7 @@ thrift_multiplexed_protocol_set_property (GObject *object,
switch (property_id)
{
case PROP_THRIFT_MULTIPLEXED_PROTOCOL_SERVICE_NAME:
g_free(self->service_name);
self->service_name = g_value_dup_string (value);
break;