You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jk...@apache.org on 2019/07/02 00:13:15 UTC
[thrift] branch master updated: THRIFT-4842 - Fix memory leak on
set property c_glib (#1773)
This is an automated email from the ASF dual-hosted git repository.
jking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new 9b49c96 THRIFT-4842 - Fix memory leak on set property c_glib (#1773)
9b49c96 is described below
commit 9b49c96a6a064c40779966960ad1c98d90d6011c
Author: Gonzalo Aguilar Delgado <ga...@aguilardelgado.com>
AuthorDate: Tue Jul 2 02:13:09 2019 +0200
THRIFT-4842 - Fix memory leak on set property c_glib (#1773)
---
lib/c_glib/src/thrift/c_glib/protocol/thrift_multiplexed_protocol.c | 1 +
1 file changed, 1 insertion(+)
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 @@ 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;