X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bt-api%2Fbt-otp.c;h=c74849016e0c995fbebddb9df6ec33ff839d4d34;hb=e03b691f62009b4196abc109a49093e43ba81817;hp=7d7a7f00f6d6b6c6bfc682755759f1598da03891;hpb=30314c18fea269785f2c25d6f7dcd765008ad7a7;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/bt-api/bt-otp.c b/bt-api/bt-otp.c index 7d7a7f0..c748490 100644 --- a/bt-api/bt-otp.c +++ b/bt-api/bt-otp.c @@ -274,6 +274,9 @@ static void __new_connection_method(GDBusConnection *connection, event_info->user_data); } + g_free(otc_info->address); + g_free(otc_info); + g_dbus_method_invocation_return_value(invocation, NULL); } }