mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
THRIFT-4842 - Fix memory leak on set property c_glib (#1773)
This commit is contained in:
parent
6c847d2d02
commit
9b49c96a6a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user