Re: [libgpiod][PATCH] tests: don't use g_value_set_static_string() for non-static strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Tue, 13 Aug 2024 11:30:25 +0200, Bartosz Golaszewski wrote:
> As pointed out by Philip Withnall, g_value_set_static_string() must only
> be used with actual static strings and not with ones whose life-time is
> tied to that of their owner. Use g_value_set_string() to get the gpiosim
> properties and rework the existing getter functions returning const
> gchar * to return the address provided by libgpiosim directly instead of
> passing through the GObject property path.
> 
> [...]

Applied, thanks!

[1/1] tests: don't use g_value_set_static_string() for non-static strings
      commit: 47e14b2cefb5a6d4ae6d7bffd76fa7bd129cd23b

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux