summaryrefslogtreecommitdiffstats
path: root/binding/bluetooth-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'binding/bluetooth-api.c')
-rw-r--r--binding/bluetooth-api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binding/bluetooth-api.c b/binding/bluetooth-api.c
index 3fcf841..2bcddd9 100644
--- a/binding/bluetooth-api.c
+++ b/binding/bluetooth-api.c
@@ -236,6 +236,8 @@ void call_work_destroy_unlocked(struct call_work *cw)
g_free(cw->type_arg);
g_free(cw->method);
g_free(cw->bluez_method);
+ g_free(cw->agent_data.fixed_pincode);
+ cw->agent_data.fixed_pincode = NULL;
}
void call_work_destroy(struct call_work *cw)