==4950== Invalid read of size 4
==4950== at 0x600FE3B: bluetooth_pairing_dialog_get_mode (bluetooth-pairing-dialog.c:171)
==4950== by 0x60164D0: display_callback (bluetooth-settings-widget.c:526)
==4950== by 0x6005BCE: bluetooth_agent_display_passkey (bluetooth-agent.c:193)
==4950== by 0x6005BCE: handle_method_call (bluetooth-agent.c:495)
==4950== by 0x6005BCE: handle_method_call (bluetooth-agent.c:457)
==4950== by 0x497A053: call_in_idle_cb (gdbusconnection.c:4878)
==4950== by 0x4AF872D: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6200.0)
==4950== Address 0x14641e70 is 80 bytes inside an unallocated block of size 1,024 in arena "client"
==4950==
==4950== Invalid read of size 8
==4950== at 0x4F61175: gtk_widget_destroy (gtkwidget.c:4770)
==4950== by 0x60137F6: setup_pairing_dialog (bluetooth-settings-widget.c:236)
==4950== by 0x60164ED: display_callback (bluetooth-settings-widget.c:527)
==4950== by 0x6005BCE: bluetooth_agent_display_passkey (bluetooth-agent.c:193)
==4950== by 0x6005BCE: handle_method_call (bluetooth-agent.c:495)
==4950== by 0x6005BCE: handle_method_call (bluetooth-agent.c:457)
==4950== by 0x497A053: call_in_idle_cb (gdbusconnection.c:4878)
==4950== by 0x4AF872D: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6200.0)
valgrind error log
==4950== Invalid read of size 4 pairing_ dialog_ get_mode (bluetooth- pairing- dialog. c:171) settings- widget. c:526) agent_display_ passkey (bluetooth- agent.c: 193) agent.c: 495) agent.c: 457) n.c:4878) x86_64- linux-gnu/ libglib- 2.0.so. 0.6200. 0) dialog (bluetooth- settings- widget. c:236) settings- widget. c:527) agent_display_ passkey (bluetooth- agent.c: 193) agent.c: 495) agent.c: 457) n.c:4878) x86_64- linux-gnu/ libglib- 2.0.so. 0.6200. 0)
==4950== at 0x600FE3B: bluetooth_
==4950== by 0x60164D0: display_callback (bluetooth-
==4950== by 0x6005BCE: bluetooth_
==4950== by 0x6005BCE: handle_method_call (bluetooth-
==4950== by 0x6005BCE: handle_method_call (bluetooth-
==4950== by 0x497A053: call_in_idle_cb (gdbusconnectio
==4950== by 0x4AF872D: ??? (in /usr/lib/
==4950== Address 0x14641e70 is 80 bytes inside an unallocated block of size 1,024 in arena "client"
==4950==
==4950== Invalid read of size 8
==4950== at 0x4F61175: gtk_widget_destroy (gtkwidget.c:4770)
==4950== by 0x60137F6: setup_pairing_
==4950== by 0x60164ED: display_callback (bluetooth-
==4950== by 0x6005BCE: bluetooth_
==4950== by 0x6005BCE: handle_method_call (bluetooth-
==4950== by 0x6005BCE: handle_method_call (bluetooth-
==4950== by 0x497A053: call_in_idle_cb (gdbusconnectio
==4950== by 0x4AF872D: ??? (in /usr/lib/