From 5625a08fd9b2ea1d9a7ea79725003eb9bc0501cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Fri, 5 Jul 2024 23:35:41 +0200 Subject: [PATCH] device: Fix property getters for `id` and `name` When Device is created with a custom value for either. Due to typos the getters ended up recursing until stack overflow. --- src/frida.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frida.vala b/src/frida.vala index 8cdf6cb68..cc065e0cf 100644 --- a/src/frida.vala +++ b/src/frida.vala @@ -485,7 +485,7 @@ namespace Frida { public string id { get { if (_id != null) - return id; + return _id; return provider.id; } } @@ -493,7 +493,7 @@ namespace Frida { public string name { get { if (_name != null) - return name; + return _name; return provider.name; } }